Skip to content

Commit 5f73613

Browse files
committed
Warning fixes
1 parent 588ac3b commit 5f73613

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hsdp/resource_metrics_autoscaler.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func resourceMetricsAutoscaler() *schema.Resource {
5454
Optional: true,
5555
Default: false,
5656
},
57-
"threshold_http_latency": &schema.Schema{
57+
"threshold_http_latency": {
5858
Type: schema.TypeSet,
5959
Required: true,
6060
MaxItems: 1,
@@ -79,7 +79,7 @@ func resourceMetricsAutoscaler() *schema.Resource {
7979
},
8080
},
8181
},
82-
"threshold_http_rate": &schema.Schema{
82+
"threshold_http_rate": {
8383
Type: schema.TypeSet,
8484
Required: true,
8585
MaxItems: 1,
@@ -104,7 +104,7 @@ func resourceMetricsAutoscaler() *schema.Resource {
104104
},
105105
},
106106
},
107-
"threshold_memory": &schema.Schema{
107+
"threshold_memory": {
108108
Type: schema.TypeSet,
109109
Required: true,
110110
MaxItems: 1,
@@ -129,7 +129,7 @@ func resourceMetricsAutoscaler() *schema.Resource {
129129
},
130130
},
131131
},
132-
"threshold_cpu": &schema.Schema{
132+
"threshold_cpu": {
133133
Type: schema.TypeSet,
134134
Required: true,
135135
MaxItems: 1,

0 commit comments

Comments
 (0)