mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
parent
584a46d9d4
commit
95fbf7500c
1 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,11 @@ func (transport *Transport) proxyContainerGroupPutRequest(request *http.Request)
|
|||
}
|
||||
|
||||
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{
|
||||
"message": "A container instance with the same name already exists inside the selected resource group",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue