monitor.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:docklet 作者: unias 项目源码 文件源码
def request_master(url,data):
    global G_masterip
    header = {'Content-Type':'application/x-www-form-urlencoded'}
    http = Http()
    [resp,content] = http.request("http://"+G_masterip+url,"POST",urlencode(data),headers = header)
    logger.info("response from master:"+content.decode('utf-8'))

# The class is to collect data of containers on each worker
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号