Skip to content

Commit

Permalink
fix: renaming
Browse files Browse the repository at this point in the history
Signed-off-by: Gosha <[email protected]>
  • Loading branch information
gosharo committed Jul 5, 2023
1 parent 66d3d1a commit b99382b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/piper/piper.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ func main() {
defer watcher.Stop()

go func() {
workflowNotifier(watcher.ResultChan())
workflowEventHandler(watcher.ResultChan())
}()

server.Start(cfg, globalClients)
}

func workflowNotifier(workflowChan <-chan watch.Event) {
func workflowEventHandler(workflowChan <-chan watch.Event) {
for {
select {
case event, open := <-workflowChan:
Expand Down

0 comments on commit b99382b

Please sign in to comment.