Skip to content

Commit

Permalink
remove atlasSDK alias
Browse files Browse the repository at this point in the history
  • Loading branch information
lantoli committed Jan 12, 2024
1 parent c2e5a40 commit 258cff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

atlasSDK "go.mongodb.org/atlas-sdk/v20231115003/admin"
"go.mongodb.org/atlas-sdk/v20231115003/admin"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/id"
Expand Down Expand Up @@ -109,7 +109,7 @@ func dataSourceMongoDBAtlasCloudSharedTierRestoreJobRead(ctx context.Context, d
return nil
}

func flattenShardTierRestoreJobs(sharedTierJobs []atlasSDK.TenantRestore) []map[string]any {
func flattenShardTierRestoreJobs(sharedTierJobs []admin.TenantRestore) []map[string]any {
if len(sharedTierJobs) == 0 {
return nil
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

atlasSDK "go.mongodb.org/atlas-sdk/v20231115003/admin"
"go.mongodb.org/atlas-sdk/v20231115003/admin"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/id"
Expand Down Expand Up @@ -92,7 +92,7 @@ func dataSourceMongoDBAtlasSharedTierSnapshotsRead(ctx context.Context, d *schem
return nil
}

func flattenSharedTierSnapshots(sharedTierSnapshots []atlasSDK.BackupTenantSnapshot) []map[string]any {
func flattenSharedTierSnapshots(sharedTierSnapshots []admin.BackupTenantSnapshot) []map[string]any {
if len(sharedTierSnapshots) == 0 {
return nil
}
Expand Down

0 comments on commit 258cff2

Please sign in to comment.