Skip to content

Commit

Permalink
fix: replaced hypen with underscore in event name
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
  • Loading branch information
Abhinandan-Purkait authored and niladrih committed Nov 6, 2023
1 parent c826e9d commit 756f9ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payload/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func WithClientId(clientId string) PayloadOption {
func WithOpenebsEvent(event *event.OpenebsEvent) PayloadOption {
return func(p *Payload) error {
p.Events = append(p.Events, ApiEvent{
Name: event.CategoryStr() + "-" + event.ActionStr(),
Name: event.CategoryStr() + "_" + event.ActionStr(),
Params: *event,
})
return nil
Expand Down

0 comments on commit 756f9ef

Please sign in to comment.