diff --git a/agent/consul/session_endpoint.go b/agent/consul/session_endpoint.go index 36598b4157..05e2b5c435 100644 --- a/agent/consul/session_endpoint.go +++ b/agent/consul/session_endpoint.go @@ -58,7 +58,7 @@ func (s *Session) Apply(args *structs.SessionRequest, reply *string) error { return fmt.Errorf("Session lookup failed: %v", err) } if existing == nil { - return fmt.Errorf("Unknown session %q", args.Session.ID) + return nil } if authz.SessionWrite(existing.Node, &authzContext) != acl.Allow { return acl.ErrPermissionDenied