Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing space in error #1772

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Add missing space in error #1772

merged 1 commit into from
Jan 27, 2025

Conversation

nirs
Copy link
Member

@nirs nirs commented Jan 27, 2025

Fix 4 instances of missing space:

 belonging toVolumeReplicationGroup

Fix 4 instances of missing space:

     belonging toVolumeReplicationGroup

Signed-off-by: Nir Soffer <[email protected]>
@@ -1918,7 +1918,7 @@ func (v *VRGInstance) addProtectedAnnotationForPVC(pvc *corev1.PersistentVolumeC
// v.updateProtectedPVCCondition(pvc.Name, PVCError, msg)
log.Error(err, "Failed to update PersistentVolumeClaim annotation")

return fmt.Errorf("failed to update PersistentVolumeClaim (%s/%s) annotation (%s) belonging to"+
return fmt.Errorf("failed to update PersistentVolumeClaim (%s/%s) annotation (%s) belonging to "+
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out this log has

{"VolumeReplicationGroup": {"name":"appset-deploy-rbd-busybox","namespace":"e2e-appset-deploy-rbd-busybox"}, "rid": "93ab4d6f-3f56-402c-ba11-90c7793ee00e", "State": "primary"}

So we can remove the "belonging to VolumeReplicationGroup (%s/%s)" part instead of fixing it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But the log does not help since this error is logged from another logger that does not have the vrg info.

@BenamarMk BenamarMk merged commit 301dabf into RamenDR:main Jan 27, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants