Refresh patches

parent fb45e70d
......@@ -2,34 +2,34 @@ jwt-go v3 is a different package.
--- a/authorization_test.go
+++ b/authorization_test.go
@@ -13,7 +13,7 @@
"gitlab.com/gitlab-org/gitlab-workhorse/internal/secret"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/testhelper"
@@ -7,7 +7,7 @@
"regexp"
"testing"
- "github.com/dgrijalva/jwt-go"
+ "github.com/dgrijalva/jwt-go-v3"
)
- jwt "github.com/dgrijalva/jwt-go"
+ jwt "github.com/dgrijalva/jwt-go-v3"
func okHandler(w http.ResponseWriter, _ *http.Request, _ *api.Response) {
"gitlab.com/gitlab-org/gitlab-workhorse/internal/api"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/helper"
--- a/internal/secret/jwt.go
+++ b/internal/secret/jwt.go
@@ -3,7 +3,7 @@
import (
"fmt"
- "github.com/dgrijalva/jwt-go"
+ "github.com/dgrijalva/jwt-go-v3"
- jwt "github.com/dgrijalva/jwt-go"
+ jwt "github.com/dgrijalva/jwt-go-v3"
)
var (
--- a/internal/upload/accelerate.go
+++ b/internal/upload/accelerate.go
@@ -10,7 +10,7 @@
"gitlab.com/gitlab-org/gitlab-workhorse/internal/filestore"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/secret"
@@ -6,7 +6,7 @@
"mime/multipart"
"net/http"
- jwt "github.com/dgrijalva/jwt-go"
+ jwt "github.com/dgrijalva/jwt-go-v3"
)
const RewrittenFieldsHeader = "Gitlab-Workhorse-Multipart-Fields"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/api"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/filestore"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment