mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +03:00
Fix
This commit is contained in:
parent
9e26580af5
commit
9f01f2c368
@ -506,7 +506,7 @@ class UserServiceManager(object):
|
|||||||
elif uService.state in (State.USABLE, State.PREPARING): # We don't want to get active deleting or deleted machines...
|
elif uService.state in (State.USABLE, State.PREPARING): # We don't want to get active deleting or deleted machines...
|
||||||
uService.setState(State.PREPARING)
|
uService.setState(State.PREPARING)
|
||||||
UserServiceOpChecker.makeUnique(uService, ui, state)
|
UserServiceOpChecker.makeUnique(uService, ui, state)
|
||||||
uService.save(update_fields=['in_use', 'in_use_date', 'os_state', 'state', 'state_date' 'data'])
|
uService.save(update_fields=['in_use', 'in_use_date', 'os_state', 'state', 'state_date', 'data'])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception('Unhandled exception on notyfyReady: {}'.format(e))
|
logger.exception('Unhandled exception on notyfyReady: {}'.format(e))
|
||||||
uService.setState(State.ERROR)
|
uService.setState(State.ERROR)
|
||||||
|
Loading…
Reference in New Issue
Block a user