diff options
| author | Zuul <zuul@review.openstack.org> | 2017-12-11 11:08:51 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-12-11 11:08:51 +0000 |
| commit | 440f8d82aa8a263c95a3ec6823f4d67ca10a8d4a (patch) | |
| tree | d64a266c47391ec9aa66333d6d820cc44ca168eb /cinderclient | |
| parent | 76fe6fc01d5ded29c65b5fe486fd3c619c01017a (diff) | |
| parent | 9ddce659a999754464d81b35d39cc5eace84a76c (diff) | |
| download | python-cinderclient-440f8d82aa8a263c95a3ec6823f4d67ca10a8d4a.tar.gz | |
Merge "Remove 'end_version' parameter in backup update"
Diffstat (limited to 'cinderclient')
| -rw-r--r-- | cinderclient/v3/shell.py | 2 | ||||
| -rw-r--r-- | cinderclient/v3/volume_backups.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index edead62..922c3a1 100644 --- a/cinderclient/v3/shell.py +++ b/cinderclient/v3/shell.py @@ -955,7 +955,7 @@ def do_migrate(cs, args): six.text_type(e))) -@api_versions.wraps('3.9', '3.43') +@api_versions.wraps('3.9') @utils.arg('backup', metavar='<backup>', help='Name or ID of backup to rename.') @utils.arg('--name', nargs='?', metavar='<name>', diff --git a/cinderclient/v3/volume_backups.py b/cinderclient/v3/volume_backups.py index 0ac9e1b..555ace8 100644 --- a/cinderclient/v3/volume_backups.py +++ b/cinderclient/v3/volume_backups.py @@ -26,15 +26,12 @@ VolumeBackup = volume_backups.VolumeBackup class VolumeBackupManager(volume_backups.VolumeBackupManager): - @api_versions.wraps("3.9", "3.43") + @api_versions.wraps("3.9") def update(self, backup, **kwargs): """Update the name or description for a backup. :param backup: The :class:`Backup` to update. """ - # NOTE(jdg): Placing 3.43 in versions.wraps above for clarity, - # but it's irrelevant as this just uses the kwargs, should we - # remove that? if not kwargs: return |
