mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Fix noise in logs
This commit is contained in:
parent
750958bd12
commit
997f7cbd6f
@ -62,9 +62,9 @@ class VPCS(BaseManager):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
vm = self.get_vm(vm_id)
|
vm = self.get_vm(vm_id)
|
||||||
i = self._used_mac_ids[vm_id]
|
|
||||||
self._free_mac_ids[vm.project.id].insert(0, i)
|
|
||||||
if vm_id in self._used_mac_ids:
|
if vm_id in self._used_mac_ids:
|
||||||
|
i = self._used_mac_ids[vm_id]
|
||||||
|
self._free_mac_ids[vm.project.id].insert(0, i)
|
||||||
del self._used_mac_ids[vm_id]
|
del self._used_mac_ids[vm_id]
|
||||||
yield from super().close_vm(vm_id, *args, **kwargs)
|
yield from super().close_vm(vm_id, *args, **kwargs)
|
||||||
return vm
|
return vm
|
||||||
|
Loading…
Reference in New Issue
Block a user