summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-17 12:34:54 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-06-17 12:35:01 +0200
commitf53a60129b39aeee35261b3a4c185386cc50bfb4 (patch)
tree15deeaedb07609cb5f22022d4d86d91c38b81a6c /cli
parent1fadb06b7ec311008b16e5070afd2cb7045e5b8a (diff)
images: update command requires string id in server
ogserver expects a string as an id, otherwise it fails to parse it.
Diffstat (limited to 'cli')
-rw-r--r--cli/objects/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/images.py b/cli/objects/images.py
index 39a7e9f..67bbf45 100644
--- a/cli/objects/images.py
+++ b/cli/objects/images.py
@@ -213,7 +213,7 @@ class OgImage():
'backup': parsed_args.backup,
'disk': parsed_args.disk,
'center_id': center_id,
- 'id': parsed_args.id,
+ 'id': str(parsed_args.id),
'code': str(fs_code),
'name': image_name}