Skip to content

Commit

Permalink
Missed some imports, update code for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmartens committed Oct 2, 2020
1 parent 8ef08ee commit 333bdd6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ func (b *Bot) createCheckRun(ctx context.Context, pr *github.PullRequest, r *git

cro := github.CreateCheckRunOptions{
Name: b.checkName,
HeadBranch: pr.GetHead().GetRef(),
HeadSHA: headSHA,
Status: github.String("completed"),
CompletedAt: &github.Timestamp{Time: time.Now()},
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package github

import (
"github.com/DataDog/ghinstallation"
"github.com/google/go-github/v18/github"
"github.com/google/go-github/v32/github"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/http"
"time"

"github.com/google/go-github/v18/github"
"github.com/google/go-github/v32/github"
"github.com/gorilla/mux"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
Expand Down

0 comments on commit 333bdd6

Please sign in to comment.