challenge is we upload to swift first and then we try to create the device-image and in this case backend API will fail when fq_name matches with existing.
UI can not be doing "check" first, then upload then create as its sub-optimal. we could see option to delete uploaded if device-image creation fails
ideally there should be a single API than baking into UI all this business logic.
challenge is we upload to swift first and then we try to create the device-image and in this case backend API will fail when fq_name matches with existing.
UI can not be doing "check" first, then upload then create as its sub-optimal. we could see option to delete uploaded if device-image creation fails
ideally there should be a single API than baking into UI all this business logic.