Skip to content

Commit

Permalink
Code quality improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx committed Aug 28, 2024
1 parent 2337abe commit 798e720
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion observability/profiling.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ func (p *Profiling) Shutdown() {
if p == nil {
return
}
p.profiler.Stop()
_ = p.profiler.Stop()
}
1 change: 1 addition & 0 deletions s3/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ func (i *ClientImpl) FileExistsInPublicBucket(ctx context.Context, filename stri
}

func (i *ClientImpl) GetFileURLWithExpiry(ctx context.Context, filename string, duration time.Duration) (string, error) {
// nolint:all
ctx, end := i.obs.Span(ctx, "s3.GetFileURLWithExpiry", zap.String("fileName", filename))
defer end()

Expand Down
1 change: 1 addition & 0 deletions util/database_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// nolint:all
package util

import (
Expand Down

0 comments on commit 798e720

Please sign in to comment.