Skip to content

Commit

Permalink
fix(api): outgoing webhook (#4923)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault authored Jan 27, 2020
1 parent 0e448fd commit 65e91bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/hooks/outgoing_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (s *Service) doOutgoingWebHookExecution(ctx context.Context, t *sdk.TaskExe
return nil
}

if wr.Status != sdk.StatusDisabled {
if wr.Status != sdk.StatusBuilding {
log.Error(ctx, "Hooks> workflow %s/%s #%s status: %s", pkey, workflow, run, wr.Status)
return nil
}
Expand Down

0 comments on commit 65e91bd

Please sign in to comment.