diff --git a/dbm-ui/backend/db_periodic_task/local_tasks/db_proxy.py b/dbm-ui/backend/db_periodic_task/local_tasks/db_proxy.py index 1a1b886cf9..95f9eba854 100644 --- a/dbm-ui/backend/db_periodic_task/local_tasks/db_proxy.py +++ b/dbm-ui/backend/db_periodic_task/local_tasks/db_proxy.py @@ -64,7 +64,7 @@ def _job_push_config_file(_cloud_id, _file_list, _nginx_list): job_payload["callback_url"] = f"{env.BK_SAAS_CALLBACK_URL}/apis/proxypass/push_conf_callback/" logger.info(_("nginx配置文件下发参数:{}").format(job_payload)) - _resp = JobApi.push_config_file(job_payload, raw=True) + _resp = JobApi.push_config_file(job_payload, raw=True, use_admin=True) if not _resp["result"]: raise ProxyPassBaseException(_("下发文件job启动失败,错误信息: {}").format(_resp["message"]))