Thanks for the tool. It's really cool job.
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf90404]
goroutine 1 [running]:
github.com/dirathea/kubectl-unused-volumes/pkg/workload.job.IsEmpty(...)
/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/pkg/workload/workload.go:111
github.com/dirathea/kubectl-unused-volumes/pkg/plugin.RunPlugin(0xc0001b3550, 0xc000408700, 0xc0004496d0, 0xc000139d58, 0x10d99f1)
/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/pkg/plugin/plugin.go:65 +0x32c
github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli.RootCmd.func2(0xc000285180, 0x1eb2c30, 0x0, 0x0, 0x0, 0x0)
/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli/root.go:30 +0x31
github.com/spf13/cobra.(*Command).execute(0xc000285180, 0xc00003a1d0, 0x0, 0x0, 0xc000285180, 0xc00003a1d0)
/Users/aldiraraharja/ssi-gopath-symlink/pkg/mod/github.com/spf13/[email protected]/command.go:762 +0x453
github.com/spf13/cobra.(*Command).ExecuteC(0xc000285180, 0x441d1a, 0x1e02040, 0xc00005c778)
/Users/aldiraraharja/ssi-gopath-symlink/pkg/mod/github.com/spf13/[email protected]/command.go:850 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/Users/aldiraraharja/ssi-gopath-symlink/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli.InitAndExecute()
/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/cmd/plugin/cli/root.go:50 +0x2b
main.main()
/Users/aldiraraharja/ssi-gopath-symlink/src/github.com/dirathea/kubectl-unused-volumes/cmd/plugin/main.go:12 +0x20```
I noticed this error occurs with some namespaces where are no any pvc/pv(s) , but job/cronjob exist and a lot pods in status `Completed`