Explorar o código

Merge pull request #25778 from KostyaSha/patch-5

Don't confuse with sub-node
Vincent Demeester %!s(int64=9) %!d(string=hai) anos
pai
achega
32aad511f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/server/router/container/container_routes.go

+ 1 - 1
api/server/router/container/container_routes.go

@@ -137,7 +137,7 @@ func (s *containerRouter) postContainersStart(ctx context.Context, w http.Respon
 	// A non-nil json object is at least 7 characters.
 	if r.ContentLength > 7 || r.ContentLength == -1 {
 		if versions.GreaterThanOrEqualTo(version, "1.24") {
-			return validationError{fmt.Errorf("starting container with HostConfig was deprecated since v1.10 and removed in v1.12")}
+			return validationError{fmt.Errorf("starting container with non-empty request body was deprecated since v1.10 and removed in v1.12")}
 		}
 
 		if err := httputils.CheckForJSON(r); err != nil {