From 650da1cd8029b4ea76508e36b58d217206efa17f Mon Sep 17 00:00:00 2001 From: Joao Zanutto Date: Mon, 8 Apr 2024 16:59:08 -0700 Subject: [PATCH] remove bucket name from object path --- internal/storages/s3/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/storages/s3/s3.go b/internal/storages/s3/s3.go index 350f5a8e..05fe554f 100644 --- a/internal/storages/s3/s3.go +++ b/internal/storages/s3/s3.go @@ -165,7 +165,7 @@ func NewStorage(ctx context.Context, cfg *Config, logLevel string) (*Storage, er Msg("s3 storage bucket") return &Storage{ - prefix: fixPrefix(path.Join(cfg.Bucket, cfg.Prefix)), + prefix: fixPrefix(cfg.Prefix), session: ses, config: cfg, service: service,