diff options
Diffstat (limited to 'cinderclient')
| -rw-r--r-- | cinderclient/v2/shell.py | 6 | ||||
| -rw-r--r-- | cinderclient/v2/volume_backups.py | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 25c205a..a85d77f 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -1903,11 +1903,9 @@ def do_manage(cs, args): # dictionary so that it is consistent with what the user specified on the # CLI. - if hasattr(args, 'source_name') and \ - args.source_name is not None: + if hasattr(args, 'source_name') and args.source_name is not None: ref_dict['source-name'] = args.source_name - if hasattr(args, 'source_id') and \ - args.source_id is not None: + if hasattr(args, 'source_id') and args.source_id is not None: ref_dict['source-id'] = args.source_id volume = cs.volumes.manage(host=args.host, diff --git a/cinderclient/v2/volume_backups.py b/cinderclient/v2/volume_backups.py index 6a4fb95..26a6b22 100644 --- a/cinderclient/v2/volume_backups.py +++ b/cinderclient/v2/volume_backups.py @@ -94,7 +94,7 @@ class VolumeBackupManager(base.ManagerWithFind): """Export volume backup metadata record. :param backup_service: Backup service to use for importing the backup - :param backup_urlBackup URL for importing the backup metadata + :param backup_url: Backup URL for importing the backup metadata :rtype: :class:`VolumeBackup` """ body = {'backup-record': {'backup_service': backup_service, |
