Skip to content

Commit

Permalink
Merge pull request #1 from peterxucai/feat/mongodb_ticket_add_field/#…
Browse files Browse the repository at this point in the history
…8849

feat(backend): mongodb单据详情新增字段 #8849
  • Loading branch information
iSecloud authored Dec 26, 2024
2 parents 9340a1e + 7cc7656 commit 41d4509
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,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 41d4509

Please sign in to comment.