rest_client.py
flake8 issues
This commit is contained in:
parent
4fe2e542b4
commit
82bf65f696
@ -176,12 +176,11 @@ 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"}
|
||||||
|
|
||||||
def logs(self, limit=None):
|
def logs(self, limit=None):
|
||||||
"""Show latest logs.
|
"""Show latest logs.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user