Skip to content

Commit

Permalink
chore: correct typos in the resource/status pkg (cloudnative-pg#6543)
Browse files Browse the repository at this point in the history
Signed-off-by: Armando Ruocco <[email protected]>
  • Loading branch information
armru authored Jan 8, 2025
1 parent ec6a00e commit 70bf6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/resources/status/conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func PatchConditionsWithOptimisticLock(

return nil
}); err != nil {
return fmt.Errorf("while updating conditions: %w", err)
return fmt.Errorf("while patching conditions: %w", err)
}

return nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func PatchWithOptimisticLock(

return nil
}); err != nil {
return fmt.Errorf("while updating conditions: %w", err)
return fmt.Errorf("while patching status: %w", err)
}

if cluster.Status.Phase != apiv1.PhaseHealthy && origCluster.Status.Phase == apiv1.PhaseHealthy {
Expand Down

0 comments on commit 70bf6aa

Please sign in to comment.