Merge pull request #2970 from crazy-max/fix-ls-json

ls: fix duplicated builders for json format
This commit is contained in:
Tõnis Tiigi
2025-02-10 09:28:17 -08:00
committed by GitHub

View File

@ -159,6 +159,9 @@ func lsPrint(dockerCli command.Cli, current *store.NodeGroup, builders []*builde
}
continue
}
if ctx.Format.IsJSON() {
continue
}
for _, n := range b.Nodes() {
if n.Err != nil {
if ctx.Format.IsTable() {