diff --git a/pkg/action/hooks_test.go b/pkg/action/hooks_test.go index bb9f39c1e..75a97d031 100644 --- a/pkg/action/hooks_test.go +++ b/pkg/action/hooks_test.go @@ -29,7 +29,7 @@ type HookFailingKubeClient struct { deleteRecord []resource.Info } -func (_ *HookFailingKubeClient) Build(reader io.Reader, _ bool) (kube.ResourceList, error) { +func (*HookFailingKubeClient) Build(reader io.Reader, _ bool) (kube.ResourceList, error) { configMap := &v1.ConfigMap{} err := yaml.NewYAMLOrJSONDecoder(reader, 1000).Decode(configMap)