diff --git a/observability/profiling.go b/observability/profiling.go index 767e2b8..e94fb57 100644 --- a/observability/profiling.go +++ b/observability/profiling.go @@ -36,5 +36,5 @@ func (p *Profiling) Shutdown() { if p == nil { return } - p.profiler.Stop() + _ = p.profiler.Stop() } diff --git a/s3/client.go b/s3/client.go index 08e250c..71d39de 100644 --- a/s3/client.go +++ b/s3/client.go @@ -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() diff --git a/util/database_test.go b/util/database_test.go index 05f1ff4..4a4b07a 100644 --- a/util/database_test.go +++ b/util/database_test.go @@ -1,3 +1,4 @@ +// nolint:all package util import (