From e38e70d5395d81dd1da8914503ac3e969d59e5fd Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 10 Jul 2014 17:53:26 +0000 Subject: [PATCH] Fixed resources api --- orchestra/apps/resources/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestra/apps/resources/serializers.py b/orchestra/apps/resources/serializers.py index f63f5332..17a2a608 100644 --- a/orchestra/apps/resources/serializers.py +++ b/orchestra/apps/resources/serializers.py @@ -56,7 +56,7 @@ if not running_syncdb(): def metadata(self, request, resources=resources): """ Display resource configuration """ ret = old_metadata(self, request) - ret['resources'] = [ + ret['available_resources'] = [ { 'name': resource.name, 'ondemand': resource.ondemand,