Skip to content

Commit 88b75da

Browse files
authored
Merge pull request #3717 from crazy-max/fix-history-export-clients
history: deduplicate node clients during export
2 parents 86381f1 + 4643e50 commit 88b75da

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)