Skip to content

Commit

Permalink
Add GatherFacts phase to reset command (#671)
Browse files Browse the repository at this point in the history
So that the hostnames are collected and the GatherK0sFacts phase can
access them when printing progress messages.

Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 authored Mar 28, 2024
1 parent 0a6a075 commit cd5b8ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action/reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (r Reset) Run() error {
&phase.DetectOS{},
lockPhase,
&phase.PrepareHosts{},
&phase.GatherFacts{},
&phase.GatherK0sFacts{},
&phase.RunHooks{Stage: "before", Action: "reset"},
&phase.ResetWorkers{
Expand Down

0 comments on commit cd5b8ef

Please sign in to comment.