Skip to content

Commit

Permalink
Merge pull request openshift#4412 from QiWang19/policy-json-format
Browse files Browse the repository at this point in the history
NO-JIRA: format policy.json
  • Loading branch information
openshift-merge-bot[bot] authored Jun 21, 2024
2 parents 6498d69 + 459d4c0 commit 612b9cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/container-runtime-config/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ func updatePolicyJSON(data []byte, internalBlocked, internalAllowed []string, re
}
}

policyJSON, err := json.Marshal(policyObj)
policyJSON, err := json.MarshalIndent(policyObj, "", " ")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 612b9cd

Please sign in to comment.