mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-09-18 08:49:08 +08:00
Merge pull request #2970 from crazy-max/fix-ls-json
ls: fix duplicated builders for json format
This commit is contained in:
@@ -159,6 +159,9 @@ func lsPrint(dockerCli command.Cli, current *store.NodeGroup, builders []*builde
|
|||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if ctx.Format.IsJSON() {
|
||||||
|
continue
|
||||||
|
}
|
||||||
for _, n := range b.Nodes() {
|
for _, n := range b.Nodes() {
|
||||||
if n.Err != nil {
|
if n.Err != nil {
|
||||||
if ctx.Format.IsTable() {
|
if ctx.Format.IsTable() {
|
||||||
|
Reference in New Issue
Block a user