Fixed bug with showing backups
Pass on cs to _find_backup and use correct return variable. Change-Id: I042d161295e4e219749ebc7dd724cd8bc6ef4d10
This commit is contained in:
@@ -208,7 +208,7 @@ def restart(cs, args):
|
|||||||
@utils.service_type('database')
|
@utils.service_type('database')
|
||||||
def do_show_backup(cs, args):
|
def do_show_backup(cs, args):
|
||||||
"""Show details of a backup."""
|
"""Show details of a backup."""
|
||||||
backups = _find_backup(args.backup)
|
backup = _find_backup(cs, args.backup)
|
||||||
_print_instance(backup)
|
_print_instance(backup)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user