From 729f32b7f8df4246c66f2ce4f2ec5932a638f51f Mon Sep 17 00:00:00 2001 From: Nicola Ferraro Date: Fri, 21 Feb 2020 10:48:01 +0100 Subject: [PATCH] Fix #1286: fix lint --- pkg/install/common.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/install/common.go b/pkg/install/common.go index e1328a19b0..c5170a07aa 100644 --- a/pkg/install/common.go +++ b/pkg/install/common.go @@ -47,7 +47,8 @@ func Resources(ctx context.Context, c client.Client, namespace string, force boo } // ResourcesOrCollect -- -func ResourcesOrCollect(ctx context.Context, c client.Client, namespace string, collection *kubernetes.Collection, force bool, customizer ResourceCustomizer, names ...string) error { +func ResourcesOrCollect(ctx context.Context, c client.Client, namespace string, collection *kubernetes.Collection, + force bool, customizer ResourceCustomizer, names ...string) error { for _, name := range names { if err := ResourceOrCollect(ctx, c, namespace, collection, force, customizer, name); err != nil { return err @@ -62,7 +63,8 @@ func Resource(ctx context.Context, c client.Client, namespace string, force bool } // ResourceOrCollect -- -func ResourceOrCollect(ctx context.Context, c client.Client, namespace string, collection *kubernetes.Collection, force bool, customizer ResourceCustomizer, name string) error { +func ResourceOrCollect(ctx context.Context, c client.Client, namespace string, collection *kubernetes.Collection, + force bool, customizer ResourceCustomizer, name string) error { obj, err := kubernetes.LoadResourceFromYaml(c.GetScheme(), deploy.ResourceAsString(name)) if err != nil { return err