mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-12 08:16:11 +01:00
bug fix clustermanager
This commit is contained in:
@@ -22,6 +22,10 @@ class ClusterManager:
|
|||||||
self.config = json.loads(open(ClusterManager.ClusterFile, 'r').read())
|
self.config = json.loads(open(ClusterManager.ClusterFile, 'r').read())
|
||||||
|
|
||||||
def PostStatus(self):
|
def PostStatus(self):
|
||||||
|
import os
|
||||||
|
if os.path.exists(ProcessUtilities.debugPath):
|
||||||
|
from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging
|
||||||
|
logging.writeToFile(str(self.config))
|
||||||
finalData = json.dumps(self.config)
|
finalData = json.dumps(self.config)
|
||||||
resp = requests.post(ClusterManager.LogURL, data=finalData, verify=False)
|
resp = requests.post(ClusterManager.LogURL, data=finalData, verify=False)
|
||||||
print (resp.text)
|
print (resp.text)
|
||||||
|
|||||||
Reference in New Issue
Block a user