Skip to content

Commit 35665a6

Browse files
xiepaupiSecloud
authored andcommitted
fix(redis): 实例下架失败 #10310
1 parent e960b40 commit 35665a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dbm-ui/backend/flow/engine/bamboo/scene/redis/atom_jobs/redis_shutdown.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ def RedisBatchShutdownAtomJob(root_id, ticket_data, sub_kwargs: ActKwargs, shutd
5252
act_kwargs.cluster = {
5353
"bk_biz_id": sub_kwargs.cluster["bk_biz_id"],
5454
"bk_cloud_id": sub_kwargs.cluster["bk_cloud_id"],
55-
"cluster_id": sub_kwargs.cluster["cluster_id"],
56-
"immute_domain": sub_kwargs.cluster["immute_domain"],
57-
"cluster_type": sub_kwargs.cluster["cluster_type"],
55+
"cluster_id": sub_kwargs.cluster.get("cluster_id", "-886"),
56+
"immute_domain": sub_kwargs.cluster.get("immute_domain", "x.no.imput.none"),
57+
"cluster_type": sub_kwargs.cluster.get("cluster_type", "x.no.cluster.type"),
5858
"operate": sub_kwargs.cluster.get("operate", ""),
5959
}
6060

0 commit comments

Comments
 (0)