Skip to content

Commit 2ee904c

Browse files
committed
Adds support for container selection for backup
Changed argument from parsed_args.volume to parsed_args.container as per what is expected in python-cinderclient. If not defined, defaults to "backup_swift_container" in cinder.conf. Stops there being a container for every volume you take backups off. Change-Id: I4a34894222f71b0f207d007c32427040589406aa Closes-Bug: 1446751
1 parent e288e01 commit 2ee904c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎openstackclient/volume/v1/backup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def take_action(self, parsed_args):
6464
parsed_args.volume).id
6565
backup = volume_client.backups.create(
6666
volume_id,
67-
parsed_args.volume,
67+
parsed_args.container,
6868
parsed_args.name,
6969
parsed_args.description
7070
)

0 commit comments

Comments
 (0)