From 34566447ace17ef694334094140bf9feb115b715 Mon Sep 17 00:00:00 2001 From: stevenvanrossem Date: Wed, 10 Aug 2016 00:13:24 +0200 Subject: [PATCH] fix restapi compute list unit test --- src/emuvim/api/rest/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emuvim/api/rest/compute.py b/src/emuvim/api/rest/compute.py index 1082a4d..030055e 100755 --- a/src/emuvim/api/rest/compute.py +++ b/src/emuvim/api/rest/compute.py @@ -109,7 +109,7 @@ class ComputeList(Resource): def get(self, dc_label=None): logging.debug("API CALL: compute list") try: - if dc_label is None: + if dc_label is None or dc_label == 'None': # return list with all compute nodes in all DCs all_containers = [] for dc in dcs.itervalues(): -- 2.25.1