Skip to content

Commit f7dc3df

Browse files
authored
[controller] Fix version add in module-config (#71)
Signed-off-by: v.oleynikov <[email protected]>
1 parent a0a277f commit f7dc3df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/webhooks/src/handlers/nscValidator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func NSCValidate(ctx context.Context, arReview *model.AdmissionReview, obj metav
7676
"settings": map[string]interface{}{
7777
"v3support": true,
7878
},
79-
"version": "1",
79+
"version": 1,
8080
},
8181
})
8282
if err != nil {
@@ -94,7 +94,7 @@ func NSCValidate(ctx context.Context, arReview *model.AdmissionReview, obj metav
9494
"settings": map[string]interface{}{
9595
"v3support": false,
9696
},
97-
"version": "1",
97+
"version": 1,
9898
},
9999
})
100100
if err != nil {

0 commit comments

Comments
 (0)