diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-31 08:53:45 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-31 08:53:45 +0300 |
commit | da12f147d256dadc5da02ef039aa83c6e13ab2ac (patch) | |
tree | 82c5886ad32e3e20bf3fe104df3a182fb4908e1e /auth/token.go | |
parent | 1fd682939f5b2697e80dbe70cca057887ec2077d (diff) |
global: Reformat sources with gofumpt
Reformat sources with gofumpt.
Diffstat (limited to 'auth/token.go')
-rw-r--r-- | auth/token.go | 1 |
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 } |