Skip to content

Commit

Permalink
fix(mongodb): 迁移元数据修复分片集群获取分片主机 TencentBlueKing#8100
Browse files Browse the repository at this point in the history
  • Loading branch information
yyhenryyy authored and iSecloud committed Nov 22, 2024
1 parent 4b0c292 commit 25299a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def get_save_password_info(self) -> dict:
info["password_infos"].append({"nodes": nodes, "password": shard.get("password")})
storages_hosts_list = [
{
"ip": host.get("ip"),
"ip": host,
"bk_cloud_id": self.source_cluster_info.get("storages")[0]["nodes"][0]["bk_cloud_id"],
}
for host in storages_hosts_set
Expand Down

0 comments on commit 25299a7

Please sign in to comment.