1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-06 05:21:55 +00:00
This commit is contained in:
Newnius 2020-04-10 16:27:58 +08:00
parent 6229798726
commit 5459554333

View File

@ -10,7 +10,6 @@ from kafka import KafkaProducer
import multiprocessing
import psutil
import math
from executor import launch_tasks
from http.server import BaseHTTPRequestHandler, HTTPServer
import cgi
import docker
@ -321,7 +320,7 @@ def report_msg(stats):
ver = time.time()
last_version = post_fields
post_fields['flag'] = ver
post_fields['version'] = ver
data = json.dumps(post_fields)
if flag: