Skip to content

Commit

Permalink
remove last use of NoEmptyStrings (#9089)
Browse files Browse the repository at this point in the history
Co-authored-by: tombuildsstuff <git@ibuildstuff.co.uk>
  • Loading branch information
katbyte and tombuildsstuff committed Oct 30, 2020
1 parent fcccea5 commit 7690961
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ import (
"time"

"github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2020-04-01/documentdb"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"

"github.com/hashicorp/go-azure-helpers/response"

"github.com/hashicorp/terraform-plugin-sdk/helper/schema"

azuread "github.com/terraform-providers/terraform-provider-azuread/azuread/helpers/validate"

"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/tf"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/validate"
Expand Down Expand Up @@ -45,7 +44,7 @@ func resourceArmCosmosDbSQLStoredProcedure() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: azuread.NoEmptyStrings,
ValidateFunc: validation.StringIsNotEmpty,
},

"resource_group_name": azure.SchemaResourceGroupName(),
Expand All @@ -60,7 +59,7 @@ func resourceArmCosmosDbSQLStoredProcedure() *schema.Resource {
"body": {
Type: schema.TypeString,
Required: true,
ValidateFunc: azuread.NoEmptyStrings,
ValidateFunc: validation.StringIsNotEmpty,
},

"container_name": {
Expand Down

0 comments on commit 7690961

Please sign in to comment.