Skip to content

Commit

Permalink
Merge pull request #39 from scottferg/master
Browse files Browse the repository at this point in the history
Read the actual commit status when updating Github
  • Loading branch information
bradrydzewski committed Feb 10, 2014
2 parents c0251de + 6c2b64d commit 2a8f3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {

// convert from drone status to github status
var message, status string
switch status {
switch commit.Status {
case "Success":
status = "success"
message = "The build succeeded on drone.io"
Expand Down

0 comments on commit 2a8f3fc

Please sign in to comment.