Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: SpiritZhou <[email protected]>
  • Loading branch information
SpiritZhou committed Nov 13, 2023
1 parent c7f88a8 commit b2ccf7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/eventemitter/eventemitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ func (e *EventEmitter) updateCloudEventSourceStatus(ctx context.Context, cloudEv
return nil
}

func newEventHandlerKey(kindNamespaceName string, handlerType string) string {
// TODO: nolint:unparam should be remove after added more than one cloudevent handler
func newEventHandlerKey(kindNamespaceName string, handlerType string) string { //nolint:unparam
return fmt.Sprintf("%s.%s", kindNamespaceName, handlerType)
}

0 comments on commit b2ccf7d

Please sign in to comment.