From f588315b7628a137d329be2ed10708844c839628 Mon Sep 17 00:00:00 2001 From: "Steven E. Harris" Date: Wed, 6 Sep 2017 14:36:25 -0400 Subject: [PATCH] Remove spurious field in kind sorter test (#2667) The test never reads the manifest type's "content" field, so there's no reason to populate it explicitly with its zero value. --- pkg/tiller/kind_sorter_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/tiller/kind_sorter_test.go b/pkg/tiller/kind_sorter_test.go index f0ee66d9c..6996731ca 100644 --- a/pkg/tiller/kind_sorter_test.go +++ b/pkg/tiller/kind_sorter_test.go @@ -118,9 +118,8 @@ func TestKindSorter(t *testing.T) { Head: &util.SimpleHead{Kind: "StatefulSet"}, }, { - Name: "w", - Content: "", - Head: &util.SimpleHead{Kind: "APIService"}, + Name: "w", + Head: &util.SimpleHead{Kind: "APIService"}, }, }