Skip to content

Commit 84ce5dc

Browse files
fix: 移除是否确认更新
1 parent 0a04d1c commit 84ce5dc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bkmonitor/packages/apm_web/management/commands/update_app_trace_datasource_option.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,6 @@ def handle(self, *args, **options):
6767
storage_info[k] = options[k]
6868
self.stdout.write(f"will_update_storage_info: {storage_info}")
6969

70-
# 确认是否更新
71-
is_update = input("Please confirm to update?(y/n)")
72-
if is_update.strip().lower() != "y":
73-
self.stderr.write("Update canceled.")
74-
return
75-
7670
# 更新
7771
SetupResource().request(
7872
bk_biz_id=options["bk_biz_id"], application_id=app.application_id, trace_datasource_option=storage_info

0 commit comments

Comments
 (0)