Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
Signed-off-by: rahulii <r.sawra@gmail.com>
  • Loading branch information
rahulii committed Oct 14, 2024
1 parent 4f9c8fc commit 4efbfd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/packetmachine_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,7 @@ func (r *PacketMachineReconciler) reconcileDeletePacketMachineIPAddressClaims(ct
log.Info(fmt.Sprintf("Removing finalizer %s", infrav1.IPAddressClaimFinalizer), "IPAddressClaim", klog.KObj(ipAddrClaim))

if err := r.Client.Update(ctx, ipAddrClaim); err != nil {
log.Error(err, "failed to update IPAddressClaim", "IPAddressClaim", klog.KObj(ipAddrClaim))
return fmt.Errorf("failed to update IPAddressClaim %s, err: %v", klog.KObj(ipAddrClaim), err)
}
}
Expand Down

0 comments on commit 4efbfd8

Please sign in to comment.