Correct handling args.backup in do_create
We have to use args.backup, not self.backup. Change-Id: I1f3c892cd4e9c1a42586bdd34d5239cb90c9af74
This commit is contained in:
@@ -148,7 +148,7 @@ def do_create(cs, args):
|
||||
volume = {"size": args.size}
|
||||
restore_point = None
|
||||
if args.backup:
|
||||
restore_point = {"backupRef": self.backup}
|
||||
restore_point = {"backupRef": args.backup}
|
||||
databases = [{'name': value} for value in args.databases]
|
||||
users = [{'name': n, 'password': p} for (n, p) in
|
||||
[z.split(':')[:2] for z in args.users]]
|
||||
|
Reference in New Issue
Block a user