Whoops
This commit is contained in:
@@ -23,7 +23,7 @@ from nova.api.openstack import faults
|
||||
import nova.image.service
|
||||
|
||||
|
||||
def _entity_inst(inst):
|
||||
def _translate_keys(inst):
|
||||
""" Coerces the backup schedule into proper dictionary format """
|
||||
return dict(backupSchedule=inst)
|
||||
|
||||
@@ -41,7 +41,7 @@ class Controller(wsgi.Controller):
|
||||
|
||||
def index(self, req, server_id):
|
||||
""" Returns the list of backup schedules for a given instance """
|
||||
return _entity_inst({})
|
||||
return _translate_keys({})
|
||||
|
||||
def create(self, req, server_id):
|
||||
""" No actual update method required, since the existing API allows
|
||||
|
||||
Reference in New Issue
Block a user