diff --git a/cmd/flux/get_source_chart.go b/cmd/flux/get_source_chart.go index d46cafd6..1033041b 100644 --- a/cmd/flux/get_source_chart.go +++ b/cmd/flux/get_source_chart.go @@ -35,7 +35,7 @@ var getSourceHelmChartCmd = &cobra.Command{ flux get sources chart --all-namespaces `, RunE: getCommand{ - apiType: bucketType, + apiType: helmChartType, list: &helmChartListAdapter{&sourcev1.HelmChartList{}}, }.run, } diff --git a/cmd/flux/get_source_git.go b/cmd/flux/get_source_git.go index b4dfdea3..79bbbe5a 100644 --- a/cmd/flux/get_source_git.go +++ b/cmd/flux/get_source_git.go @@ -35,7 +35,7 @@ var getSourceGitCmd = &cobra.Command{ flux get sources git --all-namespaces `, RunE: getCommand{ - apiType: bucketType, + apiType: gitRepositoryType, list: &gitRepositoryListAdapter{&sourcev1.GitRepositoryList{}}, }.run, } diff --git a/cmd/flux/get_source_helm.go b/cmd/flux/get_source_helm.go index f4602b7b..55ab1c81 100644 --- a/cmd/flux/get_source_helm.go +++ b/cmd/flux/get_source_helm.go @@ -35,7 +35,7 @@ var getSourceHelmCmd = &cobra.Command{ flux get sources helm --all-namespaces `, RunE: getCommand{ - apiType: bucketType, + apiType: helmRepositoryType, list: &helmRepositoryListAdapter{&sourcev1.HelmRepositoryList{}}, }.run, }