Skip to content

Commit

Permalink
fix(event): set replica count in action replacing wrong content
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Purkait <[email protected]>
  • Loading branch information
Abhinandan-Purkait committed Nov 23, 2023
1 parent d50330c commit 497246e
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 497246e

Please sign in to comment.