1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Add comment about why we change linked_base to linked_clone

This commit is contained in:
Julien Duponchelle 2017-05-16 10:38:58 +02:00
parent aff5554528
commit 5c5caf8418
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -35,6 +35,9 @@ class Appliance:
else: else:
self._id = appliance_id self._id = appliance_id
self._data = data self._data = data
# Version of the gui before 2.1 use linked_base
# and the server linked_clone
if "linked_base" in data: if "linked_base" in data:
self._data["linked_clone"] = data.pop("linked_base") self._data["linked_clone"] = data.pop("linked_base")
self._builtin = builtin self._builtin = builtin