From 73053ead7b9b3f3c8d2c9cf326464fc5cf084251 Mon Sep 17 00:00:00 2001 From: kt Date: Tue, 6 Mar 2018 11:08:16 -0800 Subject: [PATCH] Subscriptions datasource: go naming convention fix --- azurerm/helpers/subscription/subscription.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azurerm/helpers/subscription/subscription.go b/azurerm/helpers/subscription/subscription.go index fc94f3986a12..59f1331bd662 100644 --- a/azurerm/helpers/subscription/subscription.go +++ b/azurerm/helpers/subscription/subscription.go @@ -4,11 +4,11 @@ import ( "github.com/hashicorp/terraform/helper/schema" ) -func SubscriptionSchema(subscriptionIdOptional bool) map[string]*schema.Schema { +func SubscriptionSchema(subscriptionIDOptional bool) map[string]*schema.Schema { s := map[string]*schema.Schema{ "subscription_id": { Type: schema.TypeString, - Optional: subscriptionIdOptional, + Optional: subscriptionIDOptional, Computed: true, },