From b6fa3b4dcf19548ace5b5281ab4a00947194070e Mon Sep 17 00:00:00 2001 From: "pan.guo" Date: Fri, 11 Nov 2016 20:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9k8s=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E5=90=8E=E5=8F=B0=E8=8E=B7=E5=8F=96bdms=E4=BF=A1=E6=81=AFurl?= =?UTF-8?q?=E4=B9=A6=E5=86=99=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aries/kd_agent/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aries/kd_agent/views.py b/Aries/kd_agent/views.py index e27e09a..fed6040 100644 --- a/Aries/kd_agent/views.py +++ b/Aries/kd_agent/views.py @@ -277,7 +277,7 @@ def trans_obj_to_easy_dis(obj_info): @trans_return_json def get_mytask_graph(request): kd_logger.info( 'call get_mytask_graph' ) - url = 'http:/%s:%s/k8s/api/v1/namespaces/mytaskgraph'%(settings.BDMS_IP, settings.BDMS_PORT) #任务运行网络图 rest api + url = 'http://%s:%s/k8s/api/v1/namespaces/mytaskgraph'%(settings.BDMS_IP, settings.BDMS_PORT) #任务运行网络图 rest api try: req = requests.Session() r = req.get(url)