rest_client.py
flake8 issues
This commit is contained in:
parent
4fe2e542b4
commit
82bf65f696
@ -176,12 +176,11 @@ class FtRestClient():
|
||||
|
||||
def ping(self):
|
||||
"""simple ping"""
|
||||
|
||||
if self.show_config()['state']=="running":
|
||||
return {"status": "pong"}
|
||||
else:
|
||||
return{"status": "not_running"}
|
||||
|
||||
return {"status": "not_running"}
|
||||
|
||||
def logs(self, limit=None):
|
||||
"""Show latest logs.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user