mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-17 22:08:35 +00:00
Fix a merge error
This commit is contained in:
parent
7b8e4c1a60
commit
873418dbbe
@ -368,7 +368,7 @@ class Link:
|
||||
if node["node"].node_type in ('vpcs',
|
||||
'dynamips',
|
||||
'qemu',
|
||||
'iou'):
|
||||
'iou',
|
||||
'cloud',
|
||||
'nat',
|
||||
'docker'):
|
||||
@ -383,11 +383,11 @@ class Link:
|
||||
def __hash__(self):
|
||||
return hash(self._id)
|
||||
|
||||
def __json__(self, topology_dump = False):
|
||||
def __json__(self, topology_dump=False):
|
||||
"""
|
||||
:param topology_dump: Filter to keep only properties require for saving on disk
|
||||
"""
|
||||
res=[]
|
||||
res = []
|
||||
for side in self._nodes:
|
||||
res.append({
|
||||
"node_id": side["node"].id,
|
||||
|
Loading…
Reference in New Issue
Block a user