From 395ecceddaeca18222bbae492501eb36c815c7f2 Mon Sep 17 00:00:00 2001 From: willdavsmith Date: Thu, 26 Dec 2024 19:20:18 -0800 Subject: [PATCH] fix test Signed-off-by: willdavsmith --- pkg/ucp/frontend/aws/routes.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/ucp/frontend/aws/routes.go b/pkg/ucp/frontend/aws/routes.go index 8bf2ba9327..d44fd9e934 100644 --- a/pkg/ucp/frontend/aws/routes.go +++ b/pkg/ucp/frontend/aws/routes.go @@ -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" @@ -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()) }, }, {