mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
bug fix: Fixed namespace usage with cli command 'version'
Signed-off-by: John Matthews <jwmatthews@gmail.com>
This commit is contained in:
@@ -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