summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-04-06 12:52:07 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-04-06 13:11:50 +0200
commit11d6e84b8e5dadf35d3a6b19ba980583a6ff3144 (patch)
tree9a6cb159f8395ee2ef78fc08467fc3915b28b21c /tests
parent8015f85b04c30350acbea8ce939a98b1f4c51cd8 (diff)
#915 Avoid duplicate db entries in /create/imagev1.2.0
/create/image adds an entry to the database for the given partition image created when payload contains a "description" attribute. This insertion into the database is lacking a check for duplicates, which are not supported for the images table. Add a prior duplicate check before inserting. Exit with -1 code if an image with the same name is found.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions