diff --git a/nomad/acl_endpoint.go b/nomad/acl_endpoint.go index e51c8356a..0ceafcabb 100644 --- a/nomad/acl_endpoint.go +++ b/nomad/acl_endpoint.go @@ -268,7 +268,7 @@ func (a *ACL) GetPolicy(args *structs.ACLPolicySpecificRequest, reply *structs.S rules, err := policy.Parse(out.Rules) if err != nil { - return err + reply.Policy.RulesJSON = nil } else { reply.Policy.RulesJSON = rules }