mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-06-06 05:21:55 +00:00
bugfix
This commit is contained in:
parent
6229798726
commit
5459554333
3
agent.py
3
agent.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user