diff options
Diffstat (limited to 'trove/cluster/service.py')
-rw-r--r-- | trove/cluster/service.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trove/cluster/service.py b/trove/cluster/service.py index 67e7a24a..00ec3284 100644 --- a/trove/cluster/service.py +++ b/trove/cluster/service.py @@ -218,6 +218,8 @@ class ClusterController(wsgi.Controller): if locality not in locality_domain: raise exception.BadRequest(msg=locality_domain_msg) + configuration = body['cluster'].get('configuration') + context.notification = notification.DBaaSClusterCreate(context, request=req) with StartNotification(context, name=name, datastore=datastore.name, @@ -225,7 +227,7 @@ class ClusterController(wsgi.Controller): cluster = models.Cluster.create(context, name, datastore, datastore_version, instances, extended_properties, - locality) + locality, configuration) cluster.locality = locality view = views.load_view(cluster, req=req, load_servers=False) return wsgi.Result(view.data(), 200) |