diff --git a/scripts/rest_client.py b/scripts/rest_client.py index 212e52e32..e34ad6a22 100755 --- a/scripts/rest_client.py +++ b/scripts/rest_client.py @@ -184,12 +184,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.