Skip to content

Commit 5fa0dd5

Browse files
rosbomodular-magician
authored andcommitted
Remove redundant &schema.Schema in schema map
1 parent e025878 commit 5fa0dd5

4 files changed

+8
-8
lines changed

google/resource_compute_backend_bucket.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ func resourceComputeBackendBucket() *schema.Resource {
6363
Type: schema.TypeString,
6464
Computed: true,
6565
},
66-
"project": &schema.Schema{
66+
"project": {
6767
Type: schema.TypeString,
6868
Optional: true,
6969
Computed: true,
7070
ForceNew: true,
7171
},
72-
"self_link": &schema.Schema{
72+
"self_link": {
7373
Type: schema.TypeString,
7474
Computed: true,
7575
},

google/resource_compute_http_health_check.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ func resourceComputeHttpHealthCheck() *schema.Resource {
8989
Type: schema.TypeString,
9090
Computed: true,
9191
},
92-
"project": &schema.Schema{
92+
"project": {
9393
Type: schema.TypeString,
9494
Optional: true,
9595
Computed: true,
9696
ForceNew: true,
9797
},
98-
"self_link": &schema.Schema{
98+
"self_link": {
9999
Type: schema.TypeString,
100100
Computed: true,
101101
},

google/resource_compute_https_health_check.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ func resourceComputeHttpsHealthCheck() *schema.Resource {
8989
Type: schema.TypeString,
9090
Computed: true,
9191
},
92-
"project": &schema.Schema{
92+
"project": {
9393
Type: schema.TypeString,
9494
Optional: true,
9595
Computed: true,
9696
ForceNew: true,
9797
},
98-
"self_link": &schema.Schema{
98+
"self_link": {
9999
Type: schema.TypeString,
100100
Computed: true,
101101
},

google/resource_compute_target_ssl_proxy.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ func resourceComputeTargetSslProxy() *schema.Resource {
7979
Type: schema.TypeInt,
8080
Computed: true,
8181
},
82-
"project": &schema.Schema{
82+
"project": {
8383
Type: schema.TypeString,
8484
Optional: true,
8585
Computed: true,
8686
ForceNew: true,
8787
},
88-
"self_link": &schema.Schema{
88+
"self_link": {
8989
Type: schema.TypeString,
9090
Computed: true,
9191
},

0 commit comments

Comments
 (0)