From 6d8358308194b0e56033679737b66359623b183b Mon Sep 17 00:00:00 2001 From: Jose Aguirre Date: Thu, 29 Mar 2018 20:14:03 -0700 Subject: [PATCH] Fix output on test failure (#511) --- pkg/trainer/replicas_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/trainer/replicas_test.go b/pkg/trainer/replicas_test.go index d2638e2f37..2fe0345070 100644 --- a/pkg/trainer/replicas_test.go +++ b/pkg/trainer/replicas_test.go @@ -157,7 +157,7 @@ func TestTFReplicaSet(t *testing.T) { p := l.Items[index] if !reflect.DeepEqual(expectedLabels, p.ObjectMeta.Labels) { - t.Fatalf("Pod Labels; Got %v Want: %v", expectedLabels, p.ObjectMeta.Labels) + t.Fatalf("Pod Labels; Got %v Want: %v", p.ObjectMeta.Labels, expectedLabels) } if len(p.Spec.Containers) != 1 {