Skip to content

Commit

Permalink
feat(backend): mongodb单据详情新增字段 TencentBlueKing#8849
Browse files Browse the repository at this point in the history
  • Loading branch information
peterxucai authored and iSecloud committed Dec 27, 2024
1 parent 849a9c8 commit 69543a9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ class MongoDBReduceShardNodesDetailSerializer(BaseMongoDBOperateDetailSerializer
class ReduceMongosDetailSerializer(serializers.Serializer):
cluster_ids = serializers.ListField(help_text=_("集群ID列表"), child=serializers.IntegerField(help_text=_("集群ID")))
reduce_shard_nodes = serializers.IntegerField(help_text=_("缩容数量"))
current_shard_nodes_num = serializers.IntegerField(help_text=_("当前shard节点数量"))
machine_instance_num = serializers.IntegerField(help_text=_("单机部署实例数量"))
shard_num = serializers.IntegerField(help_text=_("shard数量"))

is_safe = serializers.BooleanField(help_text=_("是否做安全检测"))
infos = serializers.ListSerializer(help_text=_("缩容shard节点数信息"), child=ReduceMongosDetailSerializer())
Expand Down

0 comments on commit 69543a9

Please sign in to comment.