aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager
diff options
context:
space:
mode:
Diffstat (limited to 'moon_manager')
-rw-r--r--moon_manager/moon_manager/__init__.py2
-rw-r--r--moon_manager/moon_manager/api/slaves.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/moon_manager/moon_manager/__init__.py b/moon_manager/moon_manager/__init__.py
index 6f964a63..85c245e0 100644
--- a/moon_manager/moon_manager/__init__.py
+++ b/moon_manager/moon_manager/__init__.py
@@ -3,4 +3,4 @@
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.
-__version__ = "4.3.2"
+__version__ = "4.4.0"
diff --git a/moon_manager/moon_manager/api/slaves.py b/moon_manager/moon_manager/api/slaves.py
index d87b8aad..f5b3fa14 100644
--- a/moon_manager/moon_manager/api/slaves.py
+++ b/moon_manager/moon_manager/api/slaves.py
@@ -64,7 +64,7 @@ class Slaves(Resource):
req = requests.get("http://{}:{}/slaves".format(
self.orchestrator_hostname, self.orchestrator_port
))
- return {"slaves": req.json()}
+ return {"slaves": req.json().get("slaves", dict())}
@check_auth
def patch(self, uuid=None, user_id=None):