diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-07-07 13:22:23 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-07-07 13:22:23 +0200 |
commit | db68dcea4660c0cbac22432b1564a494224969bf (patch) | |
tree | b8c18e7ef0682e22443c96579e22bf12d75b6999 /ogcp/views.py | |
parent | ae3f83b3c30d7ab931a20986c9b72ec3f4918def (diff) |
ogcp: add backup boolean field in image updatev1.1.3
User can use this boolean field to specify if an backup copy needs to be
created before updating an image.
This only applies when sending a request to a client (ogClient)
supporting this parameter.
Diffstat (limited to 'ogcp/views.py')
-rw-r--r-- | ogcp/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index 316a817..56910d3 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -1186,6 +1186,7 @@ def action_image_update(): 'name': image['name'], 'repository': repository['ip'], 'id': str(image['id']), + 'backup': form.backup.data, # Dummy parameters, not used by ogServer on image update. 'group_id': 0, 'center_id': 0} |