mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Added 'in use' to true to Phisical Machines as soon as they are assigned, so they kept the assignation forever
This commit is contained in:
parent
6fe734f67e
commit
f463f586a3
@ -72,6 +72,8 @@ class IPMachineDeployed(AutoAttributes, services.UserDeployment):
|
||||
else:
|
||||
self._ip = ip
|
||||
self._state = State.FINISHED
|
||||
self.dbservice().setInUse(True)
|
||||
self.dbservice().save()
|
||||
return self._state
|
||||
|
||||
def deployForUser(self, user):
|
||||
|
Loading…
Reference in New Issue
Block a user