Skip to content

Commit

Permalink
Remove unnecessary use of fmt.Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
withshubh authored and sagikazarmark committed Aug 19, 2021
1 parent 6e5c91d commit 5d96968
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions .deepsource.toml

This file was deleted.

2 changes: 1 addition & 1 deletion auth/jwt/transport_test.go
Expand Up @@ -76,7 +76,7 @@ func TestGRPCToContext(t *testing.T) {
}

// Invalid Authorization header is passed
md["authorization"] = []string{fmt.Sprintf("%s", signedKey)}
md["authorization"] = []string{signedKey}
ctx = reqFunc(context.Background(), md)
token = ctx.Value(JWTContextKey)
if token != nil {
Expand Down

0 comments on commit 5d96968

Please sign in to comment.