rest_client.py

flake8 issues
pull/4472/head
av1nxsh 5 years ago committed by GitHub
parent 4fe2e542b4
commit 82bf65f696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save