Description
karmor recommend
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
github.com/kubearmor/kubearmor-client/recommend/registry.(*Scanner).loadDockerAuthConfigs(0x140000d6ec0)
/home/runner/work/kubearmor-client/kubearmor-client/recommend/registry/registry.go:83 +0x35c
github.com/kubearmor/kubearmor-client/recommend/registry.New({0x140002d3440, 0x27})
/home/runner/work/kubearmor-client/kubearmor-client/recommend/registry/registry.go:106 +0x178
github.com/kubearmor/kubearmor-client/recommend.Recommend(0x140005e0b40, {{0x10910fa60, 0x0, 0x0}, {0x10910fa60, 0x0, 0x0}, {0x0, 0x0, 0x0}, ...}, ...)
/home/runner/work/kubearmor-client/kubearmor-client/recommend/recommend.go:186 +0x238
github.com/kubearmor/kubearmor-client/cmd.glob..func9(0x140003ecb00?, {0x106921140?, 0x4?, 0x106921144?})
/home/runner/work/kubearmor-client/kubearmor-client/cmd/recommend.go:22 +0x70
github.com/spf13/cobra.(*Command).execute(0x10909e4e0, {0x10910fa60, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:983 +0x840
github.com/spf13/cobra.(*Command).ExecuteC(0x10909e7c0)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039
github.com/kubearmor/kubearmor-client/cmd.Execute()
/home/runner/work/kubearmor-client/kubearmor-client/cmd/root.go:49 +0x24
main.main()
/home/runner/work/kubearmor-client/kubearmor-client/main.go:10 +0x1c
OS: MacOS on M1
Version: 1.2.3