From f7f599fe4f17dbeb913f1527df8f7274d7e884d3 Mon Sep 17 00:00:00 2001 From: Nikhil Manchanda Date: Wed, 9 Oct 2013 23:18:20 -0700 Subject: [PATCH] Fixed bug with showing backups Pass on cs to _find_backup and use correct return variable. Change-Id: I042d161295e4e219749ebc7dd724cd8bc6ef4d10 --- troveclient/v1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py index b8ce02de..bb0d4b60 100644 --- a/troveclient/v1/shell.py +++ b/troveclient/v1/shell.py @@ -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)