Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Fix Route53 list hosted zones to avoid pagination issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
whites11 committed Jan 31, 2024
1 parent c3f5986 commit c33bee2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion service/controller/resource/tccpazs/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func Test_EnsureCreated_AZ_Spec(t *testing.T) {
}
cc.Status.TenantCluster.TCCP.Subnets = tc.ctxStatusSubnets

err = r.EnsureCreated(ctx, &tc.cluster)
err = r.EnsureCreated(ctx, &tc.cluster) // nolint:gosec

switch {
case err == nil && tc.errorMatcher == nil:
Expand Down
8 changes: 4 additions & 4 deletions service/controller/resource/tcnp/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,23 +179,23 @@ func Test_Controller_Resource_TCNP_Template_Render(t *testing.T) {

{
awsCl := unittest.DefaultCluster()
err = k.CtrlClient().Create(ctx, &awsCl)
err = k.CtrlClient().Create(ctx, &awsCl) // nolint:gosec
if err != nil {
t.Fatal(err)
}

cl := unittest.DefaultCAPIClusterWithLabels(awsCl.Name, map[string]string{})
err = k.CtrlClient().Create(ctx, &cl)
err = k.CtrlClient().Create(ctx, &cl) // nolint:gosec
if err != nil {
t.Fatal(err)
}

err = k.CtrlClient().Create(ctx, &tc.cr)
err = k.CtrlClient().Create(ctx, &tc.cr) // nolint:gosec
if err != nil {
t.Fatal(err)
}

err = k.CtrlClient().Create(ctx, &tc.re)
err = k.CtrlClient().Create(ctx, &tc.re) // nolint:gosec
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit c33bee2

Please sign in to comment.