Skip to content

Commit

Permalink
fix(event): set replica count to action rather than value
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 22, 2023
1 parent 1dc821c commit 79bd161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubernetes/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func SendEventOrIgnore(pvcName, pvName, capacity, replicaCount, stgType, method
SetVolumeName(pvName).
SetVolumeClaimName(pvcName).
SetLabel(analytics.EventLabelCapacity).
SetValue(GetReplicaCount(replicaCount, method)).
SetAction(GetReplicaCount(replicaCount, method)).
SetCategory(method).
SetVolumeCapacity(capacity).Send()
}
Expand Down

0 comments on commit 79bd161

Please sign in to comment.