mirror of
https://github.com/containers/podman.git
synced 2026-10-24 18:59:09 -04:00
fix e2e test failure
it is possible for layers.names to be nil and we must account for that. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
1 parent
c3956b1974
commit
986feef2e8
2 files changed
+6
-10
No files matched your search
@@ -19,12 +19,6 @@ import (
|
||||
)
|
||||
|
||||
func BuildImage(w http.ResponseWriter, r *http.Request) {
|
||||
// contentType := r.Header.Get("Content-Type")
|
||||
// if contentType != "application/x-tar" {
|
||||
// Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest, errors.New("/build expects Content-Type of 'application/x-tar'"))
|
||||
// return
|
||||
// }
|
||||
|
||||
authConfigs := map[string]AuthConfig{}
|
||||
if hasHeader(r, "X-Registry-Config") {
|
||||
registryHeader := getHeader(r, "X-Registry-Config")
|
||||
|
||||
Reference in new issue
Block a user