From 2f91a9d1f22d6c8f0ed739198e70707de87cd721 Mon Sep 17 00:00:00 2001 From: Oliver Gould Date: Tue, 26 Feb 2019 15:36:04 -0800 Subject: [PATCH] Fix compilation with Go 1.12 (#2398) One format string breaks when using go-1.12. --- controller/proxy-injector/patch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/proxy-injector/patch_test.go b/controller/proxy-injector/patch_test.go index 25f3f6476..267b916fa 100644 --- a/controller/proxy-injector/patch_test.go +++ b/controller/proxy-injector/patch_test.go @@ -72,6 +72,6 @@ func TestPatch(t *testing.T) { } if !reflect.DeepEqual(actual, expected) { - t.Errorf("Content mismatch\nExpected: %s\nActual: %s", expected, actual) + t.Errorf("Content mismatch\nExpected: %+v\nActual: %+v", expected, actual) } }