Skip to content

Commit

Permalink
fix(backend): 修复转移业务proxy machine 归属业务id未修改 TencentBlueKing#8429
Browse files Browse the repository at this point in the history
  • Loading branch information
ymakedaq committed Dec 5, 2024
1 parent 83ada3e commit 0521acd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def _execute(self, data, parent_data) -> bool:
Machine.objects.filter(storageinstance__cluster__immute_domain__in=cluster_domain_list).update(
bk_biz_id=target_biz_id, db_module_id=db_module_id
)
Machine.objects.filter(proxyinstance__cluster__immute_domain__in=cluster_domain_list).update(
bk_biz_id=target_biz_id, db_module_id=db_module_id
)
self.log_info("transfer cluster meta to other biz success")
return True

Expand Down

0 comments on commit 0521acd

Please sign in to comment.