supeng 2 meses atrás
pai
commit
5a8ffc5f04
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      gateway/gateway-update.py

+ 1 - 1
gateway/gateway-update.py

@@ -55,7 +55,7 @@ def setInstanceWeightProcess(slb_id, instance_id):
     for  i in range(1,6):
         weight = i*20
         setWeight(slb_id,instance_id,weight)
-        print("当前权重: ", weight)
+        print("slb_id:"+slb_id+",当前权重:", weight)
         time.sleep(5)
 
 #设置权重 instance_id :服务器id,weight:权重值