mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-27 08:37:56 +00:00
IT with aws client mock
This commit is contained in:
@@ -17,7 +17,7 @@ type S3IdPDiscovery struct {
|
||||
// NewS3IdPDiscovery initializes a new instance of S3IdPCreator with the specified AWS region and bucket name.
|
||||
// This function attempts to create an AWS client configured for the specified region.
|
||||
func NewS3IdPDiscovery(awsConfig client.AwsClient, region, bucketName string) *S3IdPDiscovery {
|
||||
s3Client := awsConfig.S3Cient(region, bucketName)
|
||||
s3Client := awsConfig.S3Client(region, bucketName)
|
||||
return &S3IdPDiscovery{s3Client}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user