summaryrefslogtreecommitdiff
path: root/troveclient/osc/v1/database_instances.py
diff options
context:
space:
mode:
Diffstat (limited to 'troveclient/osc/v1/database_instances.py')
-rw-r--r--troveclient/osc/v1/database_instances.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/troveclient/osc/v1/database_instances.py b/troveclient/osc/v1/database_instances.py
index 748c448..d16afd6 100644
--- a/troveclient/osc/v1/database_instances.py
+++ b/troveclient/osc/v1/database_instances.py
@@ -749,7 +749,7 @@ class DetachDatabaseInstanceReplica(command.Command):
db_instances = self.app.client_manager.database.instances
instance = osc_utils.find_resource(db_instances,
parsed_args.instance)
- db_instances.edit(instance, detach_replica_source=True)
+ db_instances.update(instance, detach_replica_source=True)
class RebootDatabaseInstance(command.Command):