Use correct type in various get source commands
This fixes a bug where the wrong type was displayed for various `get source` commands. ```console $ flux get sources helm --namespace default ✗ no Bucket objects found in default namespace ``` Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user