From ec62ce7a4f87e7597cc712cd53144d75a40ad752 Mon Sep 17 00:00:00 2001 From: "Steven E. Harris" Date: Mon, 10 Jul 2017 19:49:25 -0400 Subject: [PATCH] Remove spurious field in kind sorter test 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"}, }, }