Skip to content

Commit

Permalink
vrg: remove the extra naming in the logger
Browse files Browse the repository at this point in the history
Most of the vrg logs have the name controllers.VolumeReplicationGroup.
In this code, we were adding suffix of .vrginstance to it with no use.

Signed-off-by: Raghavendra Talur <[email protected]>
  • Loading branch information
raghavendra-talur committed Feb 10, 2025
1 parent 5a23365 commit c1283bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/volumereplicationgroup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ func (v *VRGInstance) processVRG() ctrl.Result {
return v.invalid(err, "Failed to label PVCs for consistency groups", true)
}

v.log = v.log.WithName("vrginstance").WithValues("State", v.instance.Spec.ReplicationState)
v.log = v.log.WithValues("State", v.instance.Spec.ReplicationState)
v.s3StoreAccessorsGet()

if util.ResourceIsDeleted(v.instance) {
Expand Down

0 comments on commit c1283bd

Please sign in to comment.