diff options
Diffstat (limited to 'trove/backup/service.py')
-rw-r--r-- | trove/backup/service.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/trove/backup/service.py b/trove/backup/service.py index 8b3d9d0f..7e3d3fe9 100644 --- a/trove/backup/service.py +++ b/trove/backup/service.py @@ -88,6 +88,9 @@ class BackupController(wsgi.Controller): swift_container = data.get('swift_container') restore_from = data.get('restore_from') + if swift_container: + utils.validate_command(swift_container) + context.notification = notification.DBaaSBackupCreate( context, request=req) |