Explorar el Código

close error channel

Mohammed Nafees hace 3 años
padre
commit
e19b2e4a1e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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()
 			wg.Wait()
+			close(errChan)
 
 
 			chanErr := fmt.Errorf("")
 			chanErr := fmt.Errorf("")