Update api/http/proxy/factory/azure/containergroup.go

pull/5030/head
Stéphane Busso 2021-05-05 19:54:49 +12:00 committed by GitHub
parent d53d5d4791
commit 52886b5f35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func (transport *Transport) proxyContainerGroupPutRequest(request *http.Request)
if validationResponse.StatusCode >= 200 && validationResponse.StatusCode < 300 {
resp := &http.Response{}
errObj := map[string]string{
"message": "A container instance with the same name already exists in that resource group",
"message": "A container instance with the same name already exists inside the selected resource group",
}
err = responseutils.RewriteResponse(resp, errObj, http.StatusConflict)
return resp, err