~0x44/nova/bug838466

« back to all changes in this revision

Viewing changes to nova/db/sqlalchemy/api.py

consistent naming for instance_set_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
    return instance_ref['image_id'] == FLAGS.vpn_image_id
297
297
 
298
298
 
299
 
def instance_state(context, instance_id, state, description=None):
 
299
def instance_set_state(context, instance_id, state, description=None):
300
300
    # TODO(devcamcar): Move this out of models and into driver
301
301
    from nova.compute import power_state
302
302
    if not description: