mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 20:40:13 +03:00
When updating project variables while Docker containers are running, the system now properly handles both dictionary-format variables and Pydantic Variable objects. This prevents AttributeError when containers are recreated after variable updates. Changes: - Modified DockerVM.create() to detect and handle Pydantic Variable objects - Updated _format_env() method to support both variable formats - Maintains backward compatibility with existing dictionary format Fixes error: AttributeError: 'Variable' object has no attribute 'get'