File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,6 @@ def is_running(self) -> bool:
9696 else bool (self .times .starting_at and not self .times .stopping_at )
9797 )
9898
99- @property
100- def is_allocated (self ) -> bool :
101- return bool (self .times .starting_at and not self .times .stopping_at )
102-
10399 @property
104100 def is_stopping (self ) -> bool :
105101 return bool (self .times .stopping_at and not self .times .stopped_at )
Original file line number Diff line number Diff line change @@ -161,9 +161,7 @@ def get_unique_vm_id(self) -> int:
161161 #
162162 # We therefore recycle vm_id values from executions that are not running
163163 # anymore.
164- currently_used_vm_ids = {
165- execution .vm_id for execution in self .executions .values () if execution .is_allocated
166- }
164+ currently_used_vm_ids = {execution .vm_id for execution in self .executions .values ()}
167165 for i in range (settings .START_ID_INDEX , 255 ** 2 ):
168166
169167 if self .network :
You can’t perform that action at this time.
0 commit comments