Skip to content

Commit

Permalink
PR comments fix
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Shipkov <[email protected]>
  • Loading branch information
grem-li committed Nov 29, 2024
1 parent 4112035 commit 264713a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func ReconcileParams(

if updated {
pv.Labels = newLabels
err := UpdatePV(ctx, cl, &pv)
err := UpdatePV(ctx, cl, pv)
if err != nil {
log.Error(err, fmt.Sprintf("[ReconcileParams] unable to update the PV, name: %s", pv.Name))
}
Expand All @@ -212,7 +212,7 @@ func ReconcileParams(

if updated {
pv.Labels = newLabels
err := UpdatePV(ctx, cl, &pv)
err := UpdatePV(ctx, cl, pv)
if err != nil {
log.Error(err, fmt.Sprintf("[ReconcileParams] unable to update the PV, name: %s", pv.Name))
}
Expand Down Expand Up @@ -266,7 +266,7 @@ func ReconcilePVReplicas(
}

if upd {
err := UpdatePV(ctx, cl, &pv)
err := UpdatePV(ctx, cl, pv)
if err != nil {
log.Error(err, fmt.Sprintf("[ReconcilePVReplicas] unable to update the PV, name: %s", pv.Name))
}
Expand Down

0 comments on commit 264713a

Please sign in to comment.