Fixed bug with showing backups

Pass on cs to _find_backup and use correct return variable.

Change-Id: I042d161295e4e219749ebc7dd724cd8bc6ef4d10
This commit is contained in:
Nikhil Manchanda
2013-10-09 23:18:20 -07:00
parent fd43cbd73b
commit f7f599fe4f

View File

@@ -208,7 +208,7 @@ def restart(cs, args):
@utils.service_type('database')
def do_show_backup(cs, args):
"""Show details of a backup."""
backups = _find_backup(args.backup)
backup = _find_backup(cs, args.backup)
_print_instance(backup)