Skip to content

Commit

Permalink
Made plural result sets
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Dec 10, 2020
1 parent a77b2a7 commit 840e709
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Expand Up @@ -47,7 +47,7 @@ func dataSourceAzureCloudServiceDeploymentTargetsRead(ctx context.Context, d *sc
flattenedAzureCloudServiceDeploymentTargets = append(flattenedAzureCloudServiceDeploymentTargets, flattenAzureCloudServiceDeploymentTarget(deploymentTarget))
}

d.Set("azure_cloud_service_deployment_target", flattenedAzureCloudServiceDeploymentTargets)
d.Set("azure_cloud_service_deployment_targets", flattenedAzureCloudServiceDeploymentTargets)
d.SetId("AzureCloudServiceDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceAzureServiceFabricClusterDeploymentTargetsRead(ctx context.Contex
flattenedAzureServiceFabricClusterDeploymentTargets = append(flattenedAzureServiceFabricClusterDeploymentTargets, flattenAzureServiceFabricClusterDeploymentTarget(deploymentTarget))
}

d.Set("azure_service_fabric_cluster_deployment_target", flattenedAzureServiceFabricClusterDeploymentTargets)
d.Set("azure_service_fabric_cluster_deployment_targets", flattenedAzureServiceFabricClusterDeploymentTargets)
d.SetId("AzureServiceFabricClusterDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceAzureWebAppDeploymentTargetsRead(ctx context.Context, d *schema.R
flattenedAzureWebAppDeploymentTargets = append(flattenedAzureWebAppDeploymentTargets, flattenAzureWebAppDeploymentTarget(deploymentTarget))
}

d.Set("azure_web_app_deployment_target", flattenedAzureWebAppDeploymentTargets)
d.Set("azure_web_app_deployment_targets", flattenedAzureWebAppDeploymentTargets)
d.SetId("AzureWebAppDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceCloudRegionDeploymentTargetsRead(ctx context.Context, d *schema.R
flattenedCloudRegionDeploymentTargets = append(flattenedCloudRegionDeploymentTargets, flattenCloudRegionDeploymentTarget(deploymentTarget))
}

d.Set("cloud_region_deployment_target", flattenedCloudRegionDeploymentTargets)
d.Set("cloud_region_deployment_targets", flattenedCloudRegionDeploymentTargets)
d.SetId("CloudRegionDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceKubernetesClusterDeploymentTargetsRead(ctx context.Context, d *sc
flattenedKubernetesClusterDeploymentTargets = append(flattenedKubernetesClusterDeploymentTargets, flattenKubernetesClusterDeploymentTarget(deploymentTarget))
}

d.Set("kubernetes_cluster_deployment_target", flattenedKubernetesClusterDeploymentTargets)
d.Set("kubernetes_cluster_deployment_targets", flattenedKubernetesClusterDeploymentTargets)
d.SetId("KubernetesClusterDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceListeningTentacleDeploymentTargetsRead(ctx context.Context, d *sc
flattenedListeningTentacleDeploymentTargets = append(flattenedListeningTentacleDeploymentTargets, flattenListeningTentacleDeploymentTarget(deploymentTarget))
}

d.Set("listening_tentacle_deployment_target", flattenedListeningTentacleDeploymentTargets)
d.Set("listening_tentacle_deployment_targets", flattenedListeningTentacleDeploymentTargets)
d.SetId("ListeningTentacleDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceOfflinePackageDropDeploymentTargetsRead(ctx context.Context, d *s
flattenedOfflinePackageDropDeploymentTargets = append(flattenedOfflinePackageDropDeploymentTargets, flattenOfflinePackageDropDeploymentTarget(deploymentTarget))
}

d.Set("offline_package_drop_deployment_target", flattenedOfflinePackageDropDeploymentTargets)
d.Set("offline_package_drop_deployment_targets", flattenedOfflinePackageDropDeploymentTargets)
d.SetId("OfflinePackageDropDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourcePollingTentacleDeploymentTargetsRead(ctx context.Context, d *sche
flattenedPollingTentacleDeploymentTargets = append(flattenedPollingTentacleDeploymentTargets, flattenPollingTentacleDeploymentTarget(deploymentTarget))
}

d.Set("polling_tentacle_deployment_target", flattenedPollingTentacleDeploymentTargets)
d.Set("polling_tentacle_deployment_targets", flattenedPollingTentacleDeploymentTargets)
d.SetId("PollingTentacleDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down
Expand Up @@ -47,7 +47,7 @@ func dataSourceSSHConnectionDeploymentTargetsRead(ctx context.Context, d *schema
flattenedSSHConnectionDeploymentTargets = append(flattenedSSHConnectionDeploymentTargets, flattenSSHConnectionDeploymentTarget(deploymentTarget))
}

d.Set("ssh_connection_deployment_target", flattenedSSHConnectionDeploymentTargets)
d.Set("ssh_connection_deployment_targets", flattenedSSHConnectionDeploymentTargets)
d.SetId("SSHConnectionDeploymentTargets " + time.Now().UTC().String())

return nil
Expand Down

0 comments on commit 840e709

Please sign in to comment.