Skip to content

Commit

Permalink
fix(backend): 修复主备负责人写入报错的问题 #2570
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhw8 committed Dec 13, 2023
1 parent 5af1a3a commit 3771a70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dbm-ui/backend/flow/utils/cc_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ def update_host_properties(self, bk_host_ids: List[int], need_monitor: bool, dbm
"properties": {
CC_HOST_DBM_ATTR: json.dumps(cc_dbm_meta),
# 主要维护人
"operator": biz_dba,
"operator": ",".join(biz_dba),
# 备份维护人
"bk_bak_operator": biz_dba,
"bk_bak_operator": ",".join(biz_dba),
# 主机状态
env.CMDB_HOST_STATE_ATTR: env.CMDB_NEED_MONITOR_STATUS
if need_monitor
Expand Down
4 changes: 2 additions & 2 deletions helm-charts/bk-dbm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ dependencies:
description: A Helm chart for bkdbm
name: bk-dbm
type: application
version: 1.3.0-alpha.20
appVersion: 1.3.0-alpha.20
version: 1.3.0-alpha.21
appVersion: 1.3.0-alpha.21
2 changes: 1 addition & 1 deletion helm-charts/bk-dbm/charts/dbm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 1.3.0-alpha.145
appVersion: 1.3.0-alpha.159
description: A Helm chart for dbm
name: dbm
type: application
Expand Down

0 comments on commit 3771a70

Please sign in to comment.