Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-08-31 08:53:45 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-08-31 08:53:45 +0300
commitda12f147d256dadc5da02ef039aa83c6e13ab2ac (patch)
tree82c5886ad32e3e20bf3fe104df3a182fb4908e1e /auth
parent1fd682939f5b2697e80dbe70cca057887ec2077d (diff)
global: Reformat sources with gofumpt
Reformat sources with gofumpt.
Diffstat (limited to 'auth')
-rw-r--r--auth/token.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/auth/token.go b/auth/token.go
index e31c8ca42..d38f3ccee 100644
--- a/auth/token.go
+++ b/auth/token.go
@@ -81,7 +81,6 @@ func CheckToken(ctx context.Context, secret string, targetTime time.Time) error
// ExtractAuthInfo returns an `AuthInfo` with the data extracted from `ctx`
func ExtractAuthInfo(ctx context.Context) (*AuthInfo, error) {
token, err := grpcmwauth.AuthFromMD(ctx, "bearer")
-
if err != nil {
return nil, err
}