Fixed resources api
This commit is contained in:
parent
1e91633c78
commit
e38e70d539
|
@ -56,7 +56,7 @@ if not running_syncdb():
|
||||||
def metadata(self, request, resources=resources):
|
def metadata(self, request, resources=resources):
|
||||||
""" Display resource configuration """
|
""" Display resource configuration """
|
||||||
ret = old_metadata(self, request)
|
ret = old_metadata(self, request)
|
||||||
ret['resources'] = [
|
ret['available_resources'] = [
|
||||||
{
|
{
|
||||||
'name': resource.name,
|
'name': resource.name,
|
||||||
'ondemand': resource.ondemand,
|
'ondemand': resource.ondemand,
|
||||||
|
|
Loading…
Reference in a new issue