Merge "Remove hardcode of container_name in backups"
This commit is contained in:
commit
dd6c644755
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue