summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0017_post_image_restore.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-02-19 12:28:28 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-02-19 12:46:51 +0100
commit5ea25a11b206a3776f2f849c9a7f632b35f13223 (patch)
tree43c8169d6f53aa913b02fd4c37eb0339c1b46e63 /tests/units/test_0017_post_image_restore.py
parentabfe81c1fa43e83d4072b19a497bb74047dfd8df (diff)
rest: delete images that belong to deleted centers
When og_cmd_post_center_delete is invoked by the REST API the images that contain the same id as the center being deleted are also deleted. Move the image deletion functionality into its own function called og_delete_image to prevent code duplication as it is now required in og_cmd_post_center_delete and og_cmd_delete_image.
Diffstat (limited to 'tests/units/test_0017_post_image_restore.py')
0 files changed, 0 insertions, 0 deletions