Skip to content

Commit

Permalink
nit remove space
Browse files Browse the repository at this point in the history
  • Loading branch information
nithyatsu committed Dec 6, 2024
1 parent 0e7ba49 commit 437597b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions test/functional-portable/ucp/cloud/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import (
"github.com/google/uuid"
"github.com/radius-project/radius/pkg/ucp/api/v20231001preview"
"github.com/radius-project/radius/pkg/ucp/aws"

"github.com/radius-project/radius/pkg/ucp/frontend/controller/awsproxy"
test "github.com/radius-project/radius/test/ucp"
"github.com/radius-project/radius/test/validation"
Expand Down Expand Up @@ -149,9 +148,7 @@ func setupTestAWSResource(t *testing.T, ctx context.Context, resourceName string
// Test setup - Create AWS resource using AWS APIs
cfg, err := awsconfig.LoadDefaultConfig(ctx)
require.NoError(t, err)

var awsClient aws.AWSCloudControlClient = cloudcontrol.NewFromConfig(cfg)

desiredState := map[string]any{
"BucketName": resourceName,
"AccessControl": "Private",
Expand Down
3 changes: 1 addition & 2 deletions test/rp/rptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (
"time"

"github.com/aws/aws-sdk-go-v2/service/cloudcontrol"
"github.com/radius-project/radius/pkg/ucp/aws"
"github.com/stretchr/testify/require"
apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
Expand All @@ -44,6 +43,7 @@ import (
"github.com/radius-project/radius/pkg/cli/kubernetes"
"github.com/radius-project/radius/pkg/cli/workspaces"
"github.com/radius-project/radius/pkg/sdk"
"github.com/radius-project/radius/pkg/ucp/aws"
"github.com/radius-project/radius/test"
"github.com/radius-project/radius/test/radcli"
"github.com/radius-project/radius/test/step"
Expand Down Expand Up @@ -185,7 +185,6 @@ func NewRPTestOptions(t *testing.T) RPTestOptions {

cfg, err := awsconfig.LoadDefaultConfig(ctx)
require.NoError(t, err)

var awsClient aws.AWSCloudControlClient = cloudcontrol.NewFromConfig(cfg)

return RPTestOptions{
Expand Down

0 comments on commit 437597b

Please sign in to comment.