From 2655690ca3ba209d7b708fd472bbd17f545747a1 Mon Sep 17 00:00:00 2001 From: srinandan <13950006+srinandan@users.noreply.github.com> Date: Fri, 20 Oct 2023 09:05:25 -0700 Subject: [PATCH] chore: fix linting issues #321 --- cmd/apps/createkey.go | 3 ++- cmd/apps/updatekey.go | 3 ++- internal/client/kvm/entries.go | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cmd/apps/createkey.go b/cmd/apps/createkey.go index d5283ebd8..2de6e0d13 100644 --- a/cmd/apps/createkey.go +++ b/cmd/apps/createkey.go @@ -16,9 +16,10 @@ package apps import ( "fmt" - "internal/apiclient" "strconv" + "internal/apiclient" + "internal/client/apps" "github.com/spf13/cobra" diff --git a/cmd/apps/updatekey.go b/cmd/apps/updatekey.go index 742710bd3..4e377b2d1 100644 --- a/cmd/apps/updatekey.go +++ b/cmd/apps/updatekey.go @@ -16,9 +16,10 @@ package apps import ( "fmt" - "internal/apiclient" "strconv" + "internal/apiclient" + "internal/client/apps" "github.com/spf13/cobra" diff --git a/internal/client/kvm/entries.go b/internal/client/kvm/entries.go index bc8d40be1..300f9c29d 100644 --- a/internal/client/kvm/entries.go +++ b/internal/client/kvm/entries.go @@ -133,7 +133,7 @@ func ExportAllEntries() (err error) { } for _, proxy := range p.Proxies { - //search for only programmable proxies. standard proxies can't have KVMs + // search for only programmable proxies. standard proxies can't have KVMs if proxy.APIProxyType == "PROGRAMMABLE" { programmableProxies = append(programmableProxies, proxy.Name) }