e1464fd317
Fixes https://github.com/docker/distribution/issues/3097 Signed-off-by: Yong Wen Chua <lawliet89@users.noreply.github.com>
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)
|
|
}
|