fix default state to be 0 instead of pending
This commit is contained in:
@@ -76,7 +76,8 @@ class RedisModel(object):
|
||||
self.set_default_state()
|
||||
|
||||
def set_default_state(self):
|
||||
self.state = {'state' : 'pending',
|
||||
self.state = {'state': 0,
|
||||
'state_description': 'pending',
|
||||
'node_name': 'unassigned',
|
||||
'project_id': 'unassigned',
|
||||
'user_id': 'unassigned'}
|
||||
|
||||
Reference in New Issue
Block a user