Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/go-ozzo/ozzo-validation v3.6.0+incompatible
github.com/go-playground/validator/v10 v10.30.2
github.com/go-test/deep v1.1.1
github.com/gofri/go-github-ratelimit v1.1.1
github.com/gofri/go-github-ratelimit/v2 v2.0.2
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/google/go-github/v83 v83.0.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ github.com/go-test/deep v1.1.1 h1:0r/53hagsehfO4bzD2Pgr/+RgHqhmf+k1Bpse2cTu1U=
github.com/go-test/deep v1.1.1/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE=
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/gofri/go-github-ratelimit v1.1.1 h1:5TCOtFf45M2PjSYU17txqbiYBEzjOuK1+OhivbW69W0=
github.com/gofri/go-github-ratelimit v1.1.1/go.mod h1:wGZlBbzHmIVjwDR3pZgKY7RBTV6gsQWxLVkpfwhcMJM=
github.com/gofri/go-github-ratelimit/v2 v2.0.2 h1:gS8wAS1jTmlWGdTjAM7KIpsLjwY1S0S/gKK5hthfSXM=
github.com/gofri/go-github-ratelimit/v2 v2.0.2/go.mod h1:YBQt4gTbdcbMjJFT05YFEaECwH78P5b0IwrnbLiHGdE=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI=
github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
Expand Down
2 changes: 1 addition & 1 deletion server/events/vcs/github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"strings"
"time"

"github.com/gofri/go-github-ratelimit/github_ratelimit"
"github.com/gofri/go-github-ratelimit/v2/github_ratelimit"
"github.com/google/go-github/v83/github"
"github.com/runatlantis/atlantis/server/events/command"
"github.com/runatlantis/atlantis/server/events/models"
Expand Down Expand Up @@ -125,7 +125,7 @@
return nil, fmt.Errorf("error initializing github authentication transport: %w", err)
}

transportWithRateLimit, err := github_ratelimit.NewRateLimitWaiterClient(transport.Transport)

Check failure on line 128 in server/events/vcs/github/client.go

View workflow job for this annotation

GitHub Actions / e2e-gitlab

undefined: github_ratelimit.NewRateLimitWaiterClient

Check failure on line 128 in server/events/vcs/github/client.go

View workflow job for this annotation

GitHub Actions / e2e-github

undefined: github_ratelimit.NewRateLimitWaiterClient

Check failure on line 128 in server/events/vcs/github/client.go

View workflow job for this annotation

GitHub Actions / Linting

undefined: github_ratelimit.NewRateLimitWaiterClient (typecheck)

Check failure on line 128 in server/events/vcs/github/client.go

View workflow job for this annotation

GitHub Actions / Tests

undefined: github_ratelimit.NewRateLimitWaiterClient
if err != nil {
return nil, fmt.Errorf("error initializing github rate limit transport: %w", err)
}
Expand Down
Loading