15 lines
292 B
Go
15 lines
292 B
Go
package s3control
|
|
|
|
import (
|
|
"github.com/aws/aws-sdk-go/aws/client"
|
|
"github.com/aws/aws-sdk-go/internal/s3err"
|
|
)
|
|
|
|
func init() {
|
|
initClient = defaultInitClientFn
|
|
}
|
|
|
|
func defaultInitClientFn(c *client.Client) {
|
|
c.Handlers.UnmarshalError.PushBackNamed(s3err.RequestFailureWrapperHandler())
|
|
}
|