Merge "Remove bay_list from bay_ironic.py and bay_k8s_heat.py"

This commit is contained in:
Jenkins 2014-12-26 07:01:25 +00:00 committed by Gerrit Code Review
commit 7f74517ed8
2 changed files with 1 additions and 9 deletions

View File

@ -33,10 +33,6 @@ class Handler(object):
bay.create()
return bay
def bay_list(self, ctxt):
LOG.debug('ironic bay_list')
return objects.Bay.list(ctxt)
def bay_delete(self, ctxt, uuid):
LOG.debug('ironic bay_delete')
bay = objects.Bay.get_by_uuid(ctxt, uuid)

View File

@ -70,10 +70,6 @@ class Handler(object):
return bay
def bay_list(self, ctxt):
LOG.debug('k8s_heat bay_list')
return objects.Bay.list(ctxt)
def bay_delete(self, ctxt, uuid):
# if bay.type is not 'k8s_heat':
# return
@ -102,4 +98,4 @@ class Handler(object):
bay.properties['minion_addresses'] = minion_addresses
bay.save()
return bay
return bay