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