Skip to content

Commit b8e9c28

Browse files
authoredFeb 10, 2025
Merge pull request #2970 from crazy-max/fix-ls-json
ls: fix duplicated builders for json format
2 parents 1d21910 + 5e1ea62 commit b8e9c28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎commands/ls.go

+3
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ func lsPrint(dockerCli command.Cli, current *store.NodeGroup, builders []*builde
159159
}
160160
continue
161161
}
162+
if ctx.Format.IsJSON() {
163+
continue
164+
}
162165
for _, n := range b.Nodes() {
163166
if n.Err != nil {
164167
if ctx.Format.IsTable() {

0 commit comments

Comments
 (0)