diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-07-08 01:48:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-07-08 01:48:36 +0000 |
| commit | f860668d7146bc5cd1b9914ea15ad5d6f0dd9585 (patch) | |
| tree | a6e23f72785d2af8b4b54ed7555f6cf7a6d8af8b /cinderclient/v2 | |
| parent | d244dcc014e0f7780fb3bfd4f3b4405e513a415e (diff) | |
| parent | 020f011ab9abe0f139b3866ffd9514dc7f978955 (diff) | |
| download | python-cinderclient-1.3.1.tar.gz | |
Merge "Fix outdated URLs and some minor fixes"1.3.1
Diffstat (limited to 'cinderclient/v2')
| -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, |
