Skip to content

Commit

Permalink
fix typos (#314)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic authored and labkode committed Oct 17, 2019
1 parent f2bbd87 commit 95f9fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/grpc/interceptors/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func NewUnary(m map[string]interface{}) (grpc.UnaryServerInterceptor, int, error

if skip(info.FullMethod, conf.SkipMethods) {
span.AddAttributes(trace.BoolAttribute("auth_enabled", false))
log.Debug().Str("method", info.FullMethod).Msg("skiping auth")
log.Debug().Str("method", info.FullMethod).Msg("skipping auth")
return handler(ctx, req)
}

Expand Down
2 changes: 1 addition & 1 deletion internal/http/services/datagateway/datagateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func init() {
rhttp.Register("datagateway", New)
}

// transerClaims are custom claims for a JWT token to be used between the metadata and data gateways.
// transferClaims are custom claims for a JWT token to be used between the metadata and data gateways.
type transferClaims struct {
jwt.StandardClaims
Target string `json:"target"`
Expand Down

0 comments on commit 95f9fe7

Please sign in to comment.