mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-10 01:17:59 +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:
|
else:
|
||||||
self._ip = ip
|
self._ip = ip
|
||||||
self._state = State.FINISHED
|
self._state = State.FINISHED
|
||||||
|
self.dbservice().setInUse(True)
|
||||||
|
self.dbservice().save()
|
||||||
return self._state
|
return self._state
|
||||||
|
|
||||||
def deployForUser(self, user):
|
def deployForUser(self, user):
|
||||||
|
Loading…
Reference in New Issue
Block a user