Skip to content

commands: reload nodes after inspect --bootstrap - #4038

Open
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:fix/inspect-reload-after-bootstrap
Open

commands: reload nodes after inspect --bootstrap#4038
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:fix/inspect-reload-after-bootstrap

Conversation

@locker95

Copy link
Copy Markdown

--bootstrap only reloaded nodes when Boot() said it started something. if the first load never got DriverInfo, ok is false and inspect kept printing inactive.

always reload after the bootstrap attempt.

Fixes #1935

Boot() returns ok=false when it did not start anything, including
when the first LoadNodes never got DriverInfo. inspect then printed
the stale inactive snapshot. Always reload after a bootstrap attempt.

Fixes docker#1935

Signed-off-by: Dean Chen <862469039@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker buildx inspect --bootstrap can return inactive nodes

1 participant