Skip to content

Commit

Permalink
remove bucket name from object path
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-zanutto authored Apr 8, 2024
1 parent cf0ea76 commit 650da1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/storages/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 650da1c

Please sign in to comment.