Skip to content

Commit 4643e50

Browse files
committed
history: deduplicate node clients during export
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent c4b5d67 commit 4643e50

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

commands/history/export.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func runExport(ctx context.Context, dockerCli command.Cli, opts exportOptions) e
102102
if err != nil {
103103
return err
104104
}
105+
visited[rec.node] = struct{}{}
105106
clients = append(clients, c)
106107
}
107108

0 commit comments

Comments
 (0)