mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
fix(image-manager): Fix type-check errors in image uploads and appliance installation
This commit is contained in:
1 parent
a7f0c7174b
commit
5492105e58
2 files changed
+5
-3
No files matched your search
@@ -254,6 +254,8 @@ class ApplianceManager:
|
||||
)
|
||||
try:
|
||||
image_in_db = await images_repo.save_verified_image(image_info)
|
||||
if image_in_db is None:
|
||||
raise ControllerError(f"Could not register image '{image_path}'")
|
||||
version_images[appliance_key] = self._image_reference(image_in_db)
|
||||
except SQLAlchemyError as e:
|
||||
raise ControllerError(f"Could not register image '{image_path}': {e}") from e
|
||||
|
||||
Reference in new issue
Block a user