Skip to content

Commit

Permalink
Bugfix - Integrate IBMPowerVSImage with MachineSpec (#556)
Browse files Browse the repository at this point in the history
Signed-off-by: Prajyot-Parab <[email protected]>
  • Loading branch information
Prajyot-Parab authored Feb 14, 2022
1 parent bdcbc3d commit 3e35b89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/ibmpowervsmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func (r *IBMPowerVSMachineReconciler) Reconcile(ctx context.Context, req ctrl.Re

var ibmPowerVSImage *v1beta1.IBMPowerVSImage
if ibmPowerVSMachine.Spec.ImageRef != nil {
ibmPowerVSImage = &v1beta1.IBMPowerVSImage{}
ibmPowerVSImageName := client.ObjectKey{
Namespace: ibmPowerVSMachine.Namespace,
Name: ibmPowerVSMachine.Spec.ImageRef.Name,
Expand Down

0 comments on commit 3e35b89

Please sign in to comment.