Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: magodo <wztdyl@sina.com>
  • Loading branch information
kosinsky and magodo committed Jun 9, 2020
1 parent 8753a39 commit 40f04f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions azurerm/helpers/azure/hdinsight.go
Expand Up @@ -95,8 +95,7 @@ func SchemaHDInsightsGateway() *schema.Schema {
"enabled": {
Type: schema.TypeBool,
Optional: true,
ForceNew: false,
Computed: true,
Default: true,
Deprecated: "HDInsight doesn't support disabling gateway anymore",
ValidateFunc: func(i interface{}, k string) (warnings []string, errors []error) {
enabled := i.(bool)
Expand All @@ -116,7 +115,6 @@ func SchemaHDInsightsGateway() *schema.Schema {
"password": {
Type: schema.TypeString,
Required: true,
ForceNew: false,
Sensitive: true,
// Azure returns the key as *****. We'll suppress that here.
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
Expand Down

0 comments on commit 40f04f1

Please sign in to comment.