Skip to content

Commit b99b542

Browse files
committed
api/types: deprecate IDResponse
Deprecate `api/type.IDResponse` in favor of `container.CommitResponse` and `container.ExecCreateResponse`, which are currently an alias, but may become distinct types in a future release. This type will be removed in the next release. updates 0df3a00 updates 9a20edf Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 6856bdd commit b99b542

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

api/types/types_deprecated.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import (
99
"github.com/docker/docker/api/types/storage"
1010
)
1111

12-
// IDResponse Response to an API call that returns just an Id
12+
// IDResponse Response to an API call that returns just an Id.
13+
//
14+
// Deprecated: use either [container.CommitResponse] or [container.ExecCreateResponse]. It will be removed in the next release.
1315
type IDResponse = common.IDResponse
1416

1517
// ContainerJSONBase contains response of Engine API GET "/containers/{name:.*}/json"

0 commit comments

Comments
 (0)