rest_client.py
fixed operator
This commit is contained in:
parent
82bf65f696
commit
95c635091e
@ -176,7 +176,7 @@ class FtRestClient():
|
||||
|
||||
def ping(self):
|
||||
"""simple ping"""
|
||||
if self.show_config()['state']=="running":
|
||||
if self.show_config()['state'] == "running":
|
||||
return {"status": "pong"}
|
||||
else:
|
||||
return {"status": "not_running"}
|
||||
|
Loading…
Reference in New Issue
Block a user