Parcourir la source

close error channel

Mohammed Nafees il y a 3 ans
Parent
commit
e19b2e4a1e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      api/server/handlers/webhook/github_incoming.go

+ 1 - 0
api/server/handlers/webhook/github_incoming.go

@@ -220,6 +220,7 @@ func (c *GithubIncomingWebhookHandler) processPullRequestEvent(event *github.Pul
 			}
 
 			wg.Wait()
+			close(errChan)
 
 			chanErr := fmt.Errorf("")