From 49a8dcf01b9d8f2b0ed1d6d35bfccee6efaa7301 Mon Sep 17 00:00:00 2001 From: Konstantin Kosinsky Date: Tue, 9 Jun 2020 08:57:26 -0700 Subject: [PATCH] Formatting and comment --- azurerm/helpers/azure/hdinsight.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azurerm/helpers/azure/hdinsight.go b/azurerm/helpers/azure/hdinsight.go index ab519b2d4da34..433d3ef3ab2c0 100644 --- a/azurerm/helpers/azure/hdinsight.go +++ b/azurerm/helpers/azure/hdinsight.go @@ -92,10 +92,11 @@ func SchemaHDInsightsGateway() *schema.Schema { MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ + // TODO 3.0: remove this attribute. "enabled": { Type: schema.TypeBool, Optional: true, - Default: true, + Default: true, Deprecated: "HDInsight doesn't support disabling gateway anymore", ValidateFunc: func(i interface{}, k string) (warnings []string, errors []error) { enabled := i.(bool)