Skip to content

Commit

Permalink
fix return values
Browse files Browse the repository at this point in the history
  • Loading branch information
andridzi committed Nov 14, 2024
1 parent 768b974 commit 1d92c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vcs/github_client/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (c *Client) PostMessage(ctx context.Context, pr vcs.PullRequest, message st

if err := c.deleteLatestRunningComment(ctx, pr); err != nil {
log.Error().Err(err).Msg("failed to delete latest 'kubechecks running' comment")
return nil
return nil, err
}

log.Debug().Msgf("Posting message to PR %d in repo %s", pr.CheckID, pr.FullName)
Expand Down

0 comments on commit 1d92c7f

Please sign in to comment.