merged orm
This commit is contained in:
commit
68309b148f
@ -264,9 +264,9 @@ def instance_is_vpn(context, instance_id):
|
||||
return IMPL.instance_is_vpn(context, instance_id)
|
||||
|
||||
|
||||
def instance_state(context, instance_id, state, description=None):
|
||||
def instance_set_state(context, instance_id, state, description=None):
|
||||
"""Set the state of an instance."""
|
||||
return IMPL.instance_state(context, instance_id, state, description)
|
||||
return IMPL.instance_set_state(context, instance_id, state, description)
|
||||
|
||||
|
||||
def instance_update(context, instance_id, values):
|
||||
|
@ -378,7 +378,7 @@ def instance_is_vpn(context, instance_id):
|
||||
return instance_ref['image_id'] == FLAGS.vpn_image_id
|
||||
|
||||
|
||||
def instance_state(context, instance_id, state, description=None):
|
||||
def instance_set_state(context, instance_id, state, description=None):
|
||||
# TODO(devcamcar): Move this out of models and into driver
|
||||
from nova.compute import power_state
|
||||
if not description:
|
||||
|
Loading…
Reference in New Issue
Block a user