bug fix: Fixed namespace usage with cli command 'version'

Signed-off-by: John Matthews <jwmatthews@gmail.com>
This commit is contained in:
John Matthews
2019-07-07 13:53:31 -04:00
parent f829dabcf4
commit afa49f398f
2 changed files with 2 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ func NewCommand(f client.Factory) *cobra.Command {
veleroClient = client.VeleroV1()
}
serverStatusGetter.Namespace = f.Namespace()
printVersion(os.Stdout, clientOnly, veleroClient, serverStatusGetter)
},
}