Remove dead DB API call.
Removes instance_set_state() from db/api.py. The sqlalchemy version was removed a while ago so this call is dead. Change-Id: Icf6f55481bc0c6a9394ca9b7a15fcdab2c1ad483
This commit is contained in:
parent
b0119996c1
commit
2e52ffc76b
@ -591,11 +591,6 @@ def instance_get_all_hung_in_rebooting(context, reboot_window, session=None):
|
||||
session)
|
||||
|
||||
|
||||
def instance_set_state(context, instance_id, state, description=None):
|
||||
"""Set the state of an instance."""
|
||||
return IMPL.instance_set_state(context, instance_id, state, description)
|
||||
|
||||
|
||||
def instance_update(context, instance_id, values):
|
||||
"""Set the given properties on an instance and update it.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user