Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
  • Loading branch information
willdavsmith committed Dec 27, 2024
1 parent d537fcf commit 395ecce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/ucp/frontend/aws/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"github.com/radius-project/radius/pkg/armrpc/frontend/defaultoperation"
"github.com/radius-project/radius/pkg/armrpc/frontend/server"
aztoken "github.com/radius-project/radius/pkg/azure/tokencredentials"
"github.com/radius-project/radius/pkg/retry"
"github.com/radius-project/radius/pkg/ucp"
"github.com/radius-project/radius/pkg/ucp/api/v20231001preview"
ucp_aws "github.com/radius-project/radius/pkg/ucp/aws"
Expand Down Expand Up @@ -225,7 +226,7 @@ func (m *Module) Initialize(ctx context.Context) (http.Handler, error) {
OperationType: &v1.OperationType{Type: OperationTypeAWSResource, Method: v1.OperationGetImperative},
ResourceType: OperationTypeAWSResource,
ControllerFactory: func(opt controller.Options) (controller.Controller, error) {
return awsproxy_ctrl.NewGetAWSResourceWithPost(opt, m.AWSClients)
return awsproxy_ctrl.NewGetAWSResourceWithPost(opt, m.AWSClients, retry.NewDefaultRetryer())
},
},
{
Expand Down

0 comments on commit 395ecce

Please sign in to comment.