Refactor reconcileNormal function to accept context from caller #2018
Labels
area/provider/ibmcloud
Issues or PRs related to ibmcloud provider
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
/kind bug
/area provider/ibmcloud
What steps did you take and what happened:
Refactor the existing reconcileNormal function to accept a context parameter from the caller.
The new function signature should be:
reconcileNormal(ctx context.Context, machineScope *scope.PowerVSMachineScope)
Update logs to use contextual logging with appropriate verbosity level - https://cluster-api.sigs.k8s.io/developer/logging#contextual-logging
All code sections where reconcileNormal is invoked must also be updated accordingly
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: