diff --git a/dbm-ui/backend/db_services/mysql/toolbox/views.py b/dbm-ui/backend/db_services/mysql/toolbox/views.py index 533211b79c..8a370a672f 100644 --- a/dbm-ui/backend/db_services/mysql/toolbox/views.py +++ b/dbm-ui/backend/db_services/mysql/toolbox/views.py @@ -68,7 +68,7 @@ class TendbHaSlaveInstanceAddDomainSet(viewsets.SystemViewSet): def slave_ins_add_domain(self, request, **kwargs): data = self.params_validate(self.get_serializer_class()) cluster_id = data["cluster_id"] - domain = data["domain"] + domain = data["domain_name"] slave_ip = data["slave_ip"] slave_port = data["slave_port"] if ClusterEntry.objects.filter(cluster_entry_type=ClusterEntryType.DNS.value, entry=domain).exists():