Update sync_redis.py

pull/122/head
StarsL.cn 2023-11-29 03:41:20 +08:00 committed by GitHub
parent e2d463d341
commit 65c31bfd32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
import requests,json
from units import consul_kv
from config import consul_token,consul_url,vendors,regions
from units.config_log import *
headers = {'X-Consul-Token': consul_token}
geturl = f'{consul_url}/agent/services'
delurl = f'{consul_url}/agent/service/deregister'