Renamed task_state to task_states...
This commit is contained in:
@@ -23,7 +23,7 @@ import time
|
||||
|
||||
from nova import db
|
||||
from nova import utils
|
||||
from nova.compute import task_state
|
||||
from nova.compute import task_states
|
||||
from nova.compute import vm_states
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ def stub_out_db_instance_api(stubs):
|
||||
'kernel_id': values['kernel_id'],
|
||||
'ramdisk_id': values['ramdisk_id'],
|
||||
'vm_state': vm_states.BUILD,
|
||||
'task_state': task_state.SCHEDULE,
|
||||
'task_state': task_states.SCHEDULE,
|
||||
'user_id': values['user_id'],
|
||||
'project_id': values['project_id'],
|
||||
'launch_time': time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()),
|
||||
|
Reference in New Issue
Block a user