Skip to content

Commit

Permalink
addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkermichael committed Jan 12, 2023
1 parent e15506a commit e52ef2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/api/v1alpha1/proxydefaults_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestValidateProxyDefault(t *testing.T) {
},
expAllow: false,
// This error message is because the value "1" is valid JSON but is an invalid map
expErrMessage: "proxydefaults.consul.hashicorp.com \"global\" is invalid: spec.config: Invalid value: json.RawMessage{0x31}: must be valid map value: json: cannot unmarshal number into Go value of type map[string]interface {}",
expErrMessage: "proxydefaults.consul.hashicorp.com \"global\" is invalid: spec.config: Invalid value: \"1\": must be valid map value: json: cannot unmarshal number into Go value of type map[string]interface {}",
},
"proxy default exists": {
existingResources: []runtime.Object{&ProxyDefaults{
Expand Down

0 comments on commit e52ef2e

Please sign in to comment.