Skip to content

Commit

Permalink
Partially revert #421 deprecation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
patryk committed Aug 9, 2019
1 parent 46fe658 commit 8c6fc3f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions cloudflare/resource_cloudflare_load_balancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ func resourceCloudflareLoadBalancer() *schema.Resource {
SchemaVersion: 0,
Schema: map[string]*schema.Schema{
"zone": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
Type: schema.TypeString,
Required: true,
ForceNew: true,
// Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
},

"zone_id": {
Expand Down
8 changes: 4 additions & 4 deletions cloudflare/resource_cloudflare_page_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ func resourceCloudflarePageRule() *schema.Resource {
SchemaVersion: 0,
Schema: map[string]*schema.Schema{
"zone": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
Type: schema.TypeString,
Required: true,
ForceNew: true,
// Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
},

"zone_id": {
Expand Down
8 changes: 4 additions & 4 deletions cloudflare/resource_cloudflare_rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ func resourceCloudflareRateLimit() *schema.Resource {
SchemaVersion: 0,
Schema: map[string]*schema.Schema{
"zone": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
Type: schema.TypeString,
Required: true,
ForceNew: true,
// Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
},

"zone_id": {
Expand Down
6 changes: 3 additions & 3 deletions cloudflare/resource_cloudflare_waf_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ func resourceCloudflareWAFRule() *schema.Resource {
},

"zone": {
Type: schema.TypeString,
Required: true,
Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
Type: schema.TypeString,
Required: true,
// Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
},

"zone_id": {
Expand Down
8 changes: 4 additions & 4 deletions cloudflare/resource_cloudflare_worker_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ func resourceCloudflareWorkerRoute() *schema.Resource {

Schema: map[string]*schema.Schema{
"zone": {
Type: schema.TypeString,
Required: true,
ForceNew: true,
Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
Type: schema.TypeString,
Required: true,
ForceNew: true,
// Deprecated: "`zone` is deprecated in favour of explicit `zone_id` and will be removed in the next major release",
},

"zone_id": {
Expand Down

0 comments on commit 8c6fc3f

Please sign in to comment.