Skip to content

Refactor reconcileNormal function to accept context from caller #2018

Closed
@carmal891

Description

@carmal891

/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.

  1. The new function signature should be:
    reconcileNormal(ctx context.Context, machineScope *scope.PowerVSMachineScope)

  2. Update logs to use contextual logging with appropriate verbosity level - https://cluster-api.sigs.k8s.io/developer/logging#contextual-logging

  3. 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:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

Labels

area/provider/ibmcloudIssues or PRs related to ibmcloud providerkind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions