Skip to content

Commit

Permalink
fix(event): set replica count in action replacing wrong content (#185)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Purkait <[email protected]>
  • Loading branch information
Abhinandan-Purkait authored Nov 23, 2023
1 parent d50330c commit 326e44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func sendEventOrIgnore(pvcName, pvName, capacity, replicaCount, stgType, method
SetVolumeName(pvName).
SetVolumeClaimName(pvcName).
SetLabel(analytics.EventLabelCapacity).
SetAction(GetReplicaCount(stgType, method)).
SetAction(GetReplicaCount(replicaCount, method)).
SetCategory(method).
SetVolumeCapacity(capacity).Send()
}
Expand Down

0 comments on commit 326e44c

Please sign in to comment.