From dc7f25051315966c9cd78f5ae4998af48dba132e Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Thu, 13 Apr 2023 13:27:21 +0200 Subject: [PATCH] chore(ctrl): lint suggestions --- pkg/cmd/uninstall.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/uninstall.go b/pkg/cmd/uninstall.go index 6579da4a00..f7bf20e5de 100644 --- a/pkg/cmd/uninstall.go +++ b/pkg/cmd/uninstall.go @@ -241,7 +241,7 @@ func (o *uninstallCmdOptions) uninstallNamespaceRoles(ctx context.Context, cmd * fmt.Fprintln(cmd.OutOrStdout(), "Camel K Role Bindings removed from namespace", o.Namespace) KEP1755Namespace := "kube-public" - if err := o.uninstallKEP_1755RoleBindings(ctx, c, KEP1755Namespace); err != nil { + if err := o.uninstallKEP1755RoleBindings(ctx, c, KEP1755Namespace); err != nil { return err } fmt.Fprintln(cmd.OutOrStdout(), "Camel K Role Bindings removed from namespace", KEP1755Namespace) @@ -353,7 +353,7 @@ func (o *uninstallCmdOptions) uninstallRoleBindings(ctx context.Context, c clien return nil } -func (o *uninstallCmdOptions) uninstallKEP_1755RoleBindings(ctx context.Context, c client.Client, namespace string) error { +func (o *uninstallCmdOptions) uninstallKEP1755RoleBindings(ctx context.Context, c client.Client, namespace string) error { api := c.RbacV1() roleBindings, err := api.RoleBindings(namespace).List(ctx, defaultListOptions)