mirror of https://github.com/docker/docs.git
Revert "release: increase timeout for creating lambda from 3s to 10s"
This reverts commit 98987a64c3
.
The timeout option doesn't have any effect, since the error happens in a
later function call to PublishVersion.
This commit is contained in:
parent
54ab3df392
commit
2d742d80c2
|
@ -129,7 +129,6 @@ func (s *AwsCloudfrontUpdateCmd) Run() error {
|
||||||
}
|
}
|
||||||
_, err = svc.CreateFunction(&lambda.CreateFunctionInput{
|
_, err = svc.CreateFunction(&lambda.CreateFunctionInput{
|
||||||
FunctionName: aws.String(s.Function),
|
FunctionName: aws.String(s.Function),
|
||||||
Timeout: aws.Int64(10),
|
|
||||||
})
|
})
|
||||||
if aerr, ok := err.(awserr.Error); ok && aerr.Code() != lambda.ErrCodeResourceConflictException {
|
if aerr, ok := err.(awserr.Error); ok && aerr.Code() != lambda.ErrCodeResourceConflictException {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue