Skip to content

Commit

Permalink
fix(event): set replica count to action rather than value (#216)
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 22, 2023
1 parent 1dc821c commit 777a426
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 777a426

Please sign in to comment.