mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.
This commit is contained in:
1 parent
30e8949985
commit
e5e2b7a8ac
3 files changed
+28
-23
No files matched your search
@@ -1142,6 +1142,7 @@ class IOUVM(BaseNode):
|
||||
:returns: integer between 1 and 512
|
||||
"""
|
||||
if self._application_id is None:
|
||||
#FIXME: is this necessary? application ID is allocated by controller and should not be None
|
||||
return self._manager.get_application_id(self.id)
|
||||
return self._application_id
|
||||
|
||||
|
||||
Reference in new issue
Block a user