Browse Source

Making reviewable

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Gustavo Carvalho 4 years ago
parent
commit
ab03bcdcc7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pkg/controllers/crds/crds_controller_test.go

+ 2 - 2
pkg/controllers/crds/crds_controller_test.go

@@ -161,11 +161,11 @@ func TestInjectCertToConversionWebhook(t *testing.T) {
 	certPEM := []byte("foobar")
 	crd := newCRD()
 	crdunmarshalled := make(map[string]interface{})
-	crdJson, err := json.Marshal(crd)
+	crdJSON, err := json.Marshal(crd)
 	if err != nil {
 		t.Fatal("Could not setup test")
 	}
-	err = json.Unmarshal(crdJson, &crdunmarshalled)
+	err = json.Unmarshal(crdJSON, &crdunmarshalled)
 	if err != nil {
 		t.Fatal("Could not setup test")
 	}