-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: fix race condition during graph traversal (#9878)
Keep track of visited nodes to prevent visiting a service multiple times. This is possible when a service depends on multiple others, as an attempt could be made to visit it from multiple parents. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
- Loading branch information
Showing
2 changed files
with
93 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters