We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
status
1 parent 80f9c5a commit 978aab2Copy full SHA for 978aab2
internal/expanders/gatekeeper.go
@@ -75,10 +75,8 @@ func (g GatekeeperPolicyExpander) Expand(
75
"metadata": map[string]interface{}{
76
"name": constraintName,
77
},
78
- "status": []map[string]interface{}{
79
- {
80
- "totalViolations": 0,
81
- },
+ "status": map[string]interface{}{
+ "totalViolations": 0,
82
83
84
internal/expanders/gatekeeper_test.go
@@ -110,10 +110,8 @@ func TestGatekeeperExpand(t *testing.T) {
110
111
"name": "my-awesome-constraint",
112
113
114
115
116
117
118
119
0 commit comments