mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-23 04:21:18 +00:00
Fix: Config is required to determine bucket name
This commit is contained in:
parent
72d90f5fbe
commit
ae3e597e56
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ func NewS3Storage(cfg *config.Config) *S3Storage {
|
||||||
s3connection := s3.New(&aws.Config{})
|
s3connection := s3.New(&aws.Config{})
|
||||||
return &S3Storage{
|
return &S3Storage{
|
||||||
s3connection: s3connection,
|
s3connection: s3connection,
|
||||||
|
cfg: cfg,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue