Skip to content

Commit

Permalink
Run goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Oct 21, 2020
1 parent c28cf60 commit 4ff3015
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/grpc/services/gateway/storageprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ type transferClaims struct {
}

func (s *svc) sign(_ context.Context, target string) (string, error) {
// Tus sends a separate request to the datagateway service for every chunk.
// For large files, this can take a long time, so we extend the expiration
// for 10 minutes. TODO: Make this configurable.
// Tus sends a separate request to the datagateway service for every chunk.
// For large files, this can take a long time, so we extend the expiration
// for 10 minutes. TODO: Make this configurable.
ttl := time.Duration(s.c.TransferExpires) * 10 * time.Minute
claims := transferClaims{
StandardClaims: jwt.StandardClaims{
Expand Down

0 comments on commit 4ff3015

Please sign in to comment.