Merge "Remove hardcode of container_name in backups"

This commit is contained in:
Jenkins 2016-10-11 18:24:23 +00:00 committed by Gerrit Code Review
commit dd6c644755
1 changed files with 0 additions and 3 deletions

View File

@ -42,9 +42,6 @@ class CreateBackupForm(forms.SelfHandlingForm):
volume_id = forms.CharField(widget=forms.HiddenInput())
def handle(self, request, data):
# Create a container for the user if no input is given
if not data['container_name']:
data['container_name'] = 'volumebackups'
try:
backup = api.cinder.volume_backup_create(request,