Skip to content

Commit

Permalink
Merge pull request #994 from syself/remove-provision-condition
Browse files Browse the repository at this point in the history
🐛 Delete provision condition after deprovisioning
  • Loading branch information
batistein authored Oct 1, 2023
2 parents b8e433b + 4d2883e commit 8a3d80a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/services/baremetal/host/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,8 @@ func (s *Service) actionDeprovisioning() actionResult {
s.scope.HetznerBareMetalHost.ClearError()
}

conditions.Delete(s.scope.HetznerBareMetalHost, infrav1.ProvisionSucceededCondition)

return actionComplete{}
}

Expand Down

0 comments on commit 8a3d80a

Please sign in to comment.