enable load integration tests

fix bug where multiple images can be loaded and have to be able to handle the return of multiple names

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2020-04-26 10:16:14 -05:00
parent fdf64f0c66
commit 6db081fc5e
5 changed files with 15 additions and 12 deletions

View File

@ -283,7 +283,7 @@ func ImagesLoad(w http.ResponseWriter, r *http.Request) {
return
}
}
utils.WriteResponse(w, http.StatusOK, entities.ImageLoadReport{Name: loadedImage})
utils.WriteResponse(w, http.StatusOK, entities.ImageLoadReport{Names: split})
}
func ImagesImport(w http.ResponseWriter, r *http.Request) {