Skip to content

Commit

Permalink
fix(backend): 修改追加部署参数默认值 TencentBlueKing#7385
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Oct 17, 2024
1 parent 15e61b0 commit eb8472c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbm-ui/backend/db_services/meta_import/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class TenDBClusterAppendCTLSerializer(serializers.Serializer):
use_stream = serializers.BooleanField(help_text=_("是否使用mydumper流式备份迁移"), required=False, default=False)
drop_before = serializers.BooleanField(help_text=_("导入到tdbctl前,是否先删除"), required=False, default=False)
threads = serializers.IntegerField(help_text=_("mydumper 并发"), required=False, default=0)
use_mydumper = serializers.BooleanField(help_text=_("是否使用mydumper,myloader迁移"), required=False, default=True)
use_mydumper = serializers.BooleanField(help_text=_("是否使用mydumper,myloader迁移"), required=False, default=False)

def validate(self, attrs):
return attrs
Expand Down

0 comments on commit eb8472c

Please sign in to comment.