mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
12 lines
242 B
Go
12 lines
242 B
Go
|
package sts
|
||
|
|
||
|
import "github.com/aws/aws-sdk-go/aws/request"
|
||
|
|
||
|
func init() {
|
||
|
initRequest = customizeRequest
|
||
|
}
|
||
|
|
||
|
func customizeRequest(r *request.Request) {
|
||
|
r.RetryErrorCodes = append(r.RetryErrorCodes, ErrCodeIDPCommunicationErrorException)
|
||
|
}
|