From 938ed2b221c23f1cc1fe458a09b0147a2e682343 Mon Sep 17 00:00:00 2001 From: Ivan Milchev Date: Thu, 7 Mar 2024 17:28:41 +0100 Subject: [PATCH] remove todo Signed-off-by: Ivan Milchev --- apps/cnquery/cmd/scan.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/apps/cnquery/cmd/scan.go b/apps/cnquery/cmd/scan.go index 0dfabcc349..5895051671 100644 --- a/apps/cnquery/cmd/scan.go +++ b/apps/cnquery/cmd/scan.go @@ -239,14 +239,6 @@ func getCobraScanConfig(cmd *cobra.Command, runtime *providers.Runtime, cliRes * serviceAccount := opts.GetServiceCredential() if serviceAccount != nil { - // TODO: determine if this needs migrating - // // determine information about the client - // sysInfo, err := sysinfo.GatherSystemInfo() - // if err != nil { - // log.Warn().Err(err).Msg("could not gather client information") - // } - // plugins = append(plugins, defaultRangerPlugins(sysInfo, opts.GetFeatures())...) - log.Info().Msg("using service account credentials") conf.runtime.UpstreamConfig = &upstream.UpstreamConfig{ SpaceMrn: opts.GetParentMrn(),