10BC0 api/types/container: remove deprecated Stats type · moby/moby@f1a97bd · GitHub
[go: up one dir, main page]

Skip to content

Commit f1a97bd

Browse files
committed
api/types/container: remove deprecated Stats type
This type was deprecated in ca06b22, and is no longer used. Now that the API is in a new module, we can remove the alias. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 496c555 commit f1a97bd

File tree

2 files changed

+0
-10
lines changed
  • api/types/container
  • vendor/github.com/moby/moby/api/types/container

2 files changed

+0
-10
lines changed

api/types/container/stats.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ type PidsStats struct {
147147
Limit uint64 `json:"limit,omitempty"`
148148
}
149149

150-
// Stats is Ultimate struct aggregating all types of stats of one container
151-
//
152-
// Deprecated: use [StatsResponse] instead. This type will be removed in the next release.
153-
type Stats = StatsResponse
154-
155150
// StatsResponse aggregates all types of stats of one container.
156151
type StatsResponse struct {
157152
Name string `json:"name,omitempty"`

vendor/github.com/moby/moby/api/types/container/stats.go

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0