Fixed resources api

This commit is contained in:
Marc 2014-07-10 17:53:26 +00:00
parent 1e91633c78
commit e38e70d539
1 changed files with 1 additions and 1 deletions

View File

@ -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,