mirror of
https://github.com/nabbar/golib.git
synced 2025-11-02 11:54:00 +08:00
Bump dependancies
- AWS SDK to release v1.0.0 - other dependancies Fix Packages : - AWS : fix validator function, rules, config model - Certificates : fix func NewFrom - HTTPServer: fix IsRunning Fix other : - Fix CI/CD job to prevent alert on files modified - Fix missing licence comment header
This commit is contained in:
committed by
Nicolas JUHEL
parent
d46a10bb82
commit
1249f319bc
@@ -47,9 +47,9 @@ type Policy interface {
|
||||
Delete(polArn string) errors.Error
|
||||
}
|
||||
|
||||
func New(ctx context.Context, bucket string, iam *iam.Client, s3 *s3.Client) Policy {
|
||||
func New(ctx context.Context, bucket, region string, iam *iam.Client, s3 *s3.Client) Policy {
|
||||
return &client{
|
||||
Helper: helper.New(ctx, bucket),
|
||||
Helper: helper.New(ctx, bucket, region),
|
||||
iam: iam,
|
||||
s3: s3,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user