mirror of https://github.com/portainer/portainer
parent
584a46d9d4
commit
95fbf7500c
|
@ -45,7 +45,11 @@ func (transport *Transport) proxyContainerGroupPutRequest(request *http.Request)
|
||||||
}
|
}
|
||||||
|
|
||||||
if validationResponse.StatusCode >= 200 && validationResponse.StatusCode < 300 {
|
if validationResponse.StatusCode >= 200 && validationResponse.StatusCode < 300 {
|
||||||
resp := &http.Response{}
|
resp := &http.Response{
|
||||||
|
Header: http.Header{
|
||||||
|
http.CanonicalHeaderKey("content-type"): []string{"application/json"},
|
||||||
|
},
|
||||||
|
}
|
||||||
errObj := map[string]string{
|
errObj := map[string]string{
|
||||||
"message": "A container instance with the same name already exists inside the selected resource group",
|
"message": "A container instance with the same name already exists inside the selected resource group",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue