Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 0d1edc4

Browse files
edigaryevthaJeztah
authored andcommitted
swagger: clarify the meaning of Image field in ContainerInspect endpoint
"Container's image" term is rather ambiguous: it can be both a name and an ID. Looking at the sources[1], it's actually an image ID, so bring some clarity. [1]: https://github.com/moby/moby/blob/a6a47d1a4944799ffbe3657d4dae68e0829a0dc6/daemon/inspect.go#L170 Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com> (cherry picked from commit c44fb423778e3d40cbc9e309d253067a5b8d4a96) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 700584104848be6401e0f85838cbaba39237080d Component: engine
1 parent bbdb18f commit 0d1edc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/engine/api/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5014,7 +5014,7 @@ paths:
50145014
x-nullable: true
50155015
$ref: "#/definitions/ContainerState"
50165016
Image:
5017-
description: "The container's image"
5017+
description: "The container's image ID"
50185018
type: "string"
50195019
ResolvConfPath:
50205020
type: "string"

0 commit comments

Comments
 (0)