mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-04-21 16:20:34 +00:00
bug fix: Fixed namespace usage with cli command 'version'
Signed-off-by: John Matthews <jwmatthews@gmail.com>
This commit is contained in:
1
changelogs/unreleased/1630-jwmatthews
Normal file
1
changelogs/unreleased/1630-jwmatthews
Normal file
@@ -0,0 +1 @@
|
||||
bug fix: Fixed namespace usage with cli command 'version'
|
||||
@@ -50,7 +50,7 @@ func NewCommand(f client.Factory) *cobra.Command {
|
||||
|
||||
veleroClient = client.VeleroV1()
|
||||
}
|
||||
|
||||
serverStatusGetter.Namespace = f.Namespace()
|
||||
printVersion(os.Stdout, clientOnly, veleroClient, serverStatusGetter)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user