Merge "Remove bay_list from bay_ironic.py and bay_k8s_heat.py"
This commit is contained in:
commit
7f74517ed8
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user