Skip to content

Commit d8cd8dd

Browse files
committed
WIP
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 3bee32d commit d8cd8dd

File tree

8 files changed

+28
-32
lines changed

8 files changed

+28
-32
lines changed

cli/command/formatter/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ func (c *ContainerContext) Ports() string {
247247
// State returns the container's current state (e.g. "running" or "paused").
248248
// Refer to [container.ContainerState] for possible states.
249249
func (c *ContainerContext) State() string {
250-
return c.c.State
250+
return string(c.c.State)
251251
}
252252

253253
// Status returns the container's status in a human readable form (for example,

vendor.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ require (
2828
github.com/google/uuid v1.6.0
2929
github.com/mattn/go-runewidth v0.0.19
3030
github.com/moby/go-archive v0.1.0
31-
github.com/moby/moby/api v1.52.0-rc.1.0.20251110150337-69c4524355bc // master
32-
github.com/moby/moby/client v0.1.0-rc.1.0.20251110150337-69c4524355bc // master
31+
github.com/moby/moby/api v1.52.0-rc.1.0.20251110152122-7cff366d4383 // master
32+
github.com/moby/moby/client v0.1.0-rc.1.0.20251110152122-7cff366d4383 // master
3333
github.com/moby/patternmatcher v0.6.0
3434
github.com/moby/swarmkit/v2 v2.1.1
3535
github.com/moby/sys/atomicwriter v0.1.0

vendor.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3N
113113
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
114114
github.com/moby/go-archive v0.1.0 h1:Kk/5rdW/g+H8NHdJW2gsXyZ7UnzvJNOy6VKJqueWdcQ=
115115
github.com/moby/go-archive v0.1.0/go.mod h1:G9B+YoujNohJmrIYFBpSd54GTUB4lt9S+xVQvsJyFuo=
116-
github.com/moby/moby/api v1.52.0-rc.1.0.20251110150337-69c4524355bc h1:fsV8BQ1CFIrWCHtl924Z2HMA5IZVOpzr+eVBrHYYx3Y=
117-
github.com/moby/moby/api v1.52.0-rc.1.0.20251110150337-69c4524355bc/go.mod h1:v0K/motq8oWmx+rtApG1rBTIpQ8KUONUjpf+U73gags=
118-
github.com/moby/moby/client v0.1.0-rc.1.0.20251110150337-69c4524355bc h1:AC2iQPPhZBsbb8eg/k6NTuFSLzJaO+OgzT1PWeEk3t4=
119-
github.com/moby/moby/client v0.1.0-rc.1.0.20251110150337-69c4524355bc/go.mod h1:DYvby7ZKcDKbvuhs4/gBptKp+fqMLz0RhVIPUMy+H/Q=
116+
github.com/moby/moby/api v1.52.0-rc.1.0.20251110152122-7cff366d4383 h1:EtwsCC5qh3+Q08G4m2X+mvkl4iXaVwbLjib4UgZmtY0=
117+
github.com/moby/moby/api v1.52.0-rc.1.0.20251110152122-7cff366d4383/go.mod h1:v0K/motq8oWmx+rtApG1rBTIpQ8KUONUjpf+U73gags=
118+
github.com/moby/moby/client v0.1.0-rc.1.0.20251110152122-7cff366d4383 h1:OBG6NXd/rSJDsfjwe2y7W2swcqiW8/wGrdKB46QgN+A=
119+
github.com/moby/moby/client v0.1.0-rc.1.0.20251110152122-7cff366d4383/go.mod h1:DYvby7ZKcDKbvuhs4/gBptKp+fqMLz0RhVIPUMy+H/Q=
120120
github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk=
121121
github.com/moby/patternmatcher v0.6.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc=
122122
github.com/moby/swarmkit/v2 v2.1.1 h1:yvTJ8MMCc3f0qTA44J6R59EZ5yZawdYopkpuLk4+ICU=

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

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

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

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

vendor/github.com/moby/moby/api/types/volume/list_response.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/moby/moby/client/volume_list.go

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

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ github.com/moby/docker-image-spec/specs-go/v1
167167
github.com/moby/go-archive
168168
github.com/moby/go-archive/compression
169169
github.com/moby/go-archive/tarheader
170-
# github.com/moby/moby/api v1.52.0-rc.1.0.20251110150337-69c4524355bc
170+
# github.com/moby/moby/api v1.52.0-rc.1.0.20251110152122-7cff366d4383
171171
## explicit; go 1.23.0
172172
github.com/moby/moby/api/pkg/authconfig
173173
github.com/moby/moby/api/pkg/stdcopy
@@ -189,7 +189,7 @@ github.com/moby/moby/api/types/storage
189189
github.com/moby/moby/api/types/swarm
190190
github.com/moby/moby/api/types/system
191191
github.com/moby/moby/api/types/volume
192-
# github.com/moby/moby/client v0.1.0-rc.1.0.20251110150337-69c4524355bc
192+
# github.com/moby/moby/client v0.1.0-rc.1.0.20251110152122-7cff366d4383
193193
## explicit; go 1.23.0
194194
github.com/moby/moby/client
195195
github.com/moby/moby/client/internal

0 commit comments

Comments
 (0)