Skip to content

Commit

Permalink
ref #4118 Fix to display deprecation message for cloudflare_worker_cr…
Browse files Browse the repository at this point in the history
…on_trigger resource correctly
  • Loading branch information
stankolubomir committed Oct 17, 2024
1 parent 3110f43 commit 0753759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func resourceCloudflareWorkerCronTrigger() *schema.Resource {
schedule. Worker Cron Triggers are ideal for running periodic jobs for
maintenance or calling third-party APIs to collect up-to-date data.
`, "`ScheduledEvent`")),
DeprecationMessage: "`cloudflare_worker_cron_trigger` is now deprecated and will be removed in the next major version. Use `cloudflare_workers_cron_trigger` instead.",
}
}

Expand All @@ -48,7 +49,6 @@ func resourceCloudflareWorkersCronTrigger() *schema.Resource {
schedule. Worker Cron Triggers are ideal for running periodic jobs for
maintenance or calling third-party APIs to collect up-to-date data.
`, "`ScheduledEvent`")),
DeprecationMessage: "`cloudflare_worker_cron_trigger` is now deprecated and will be removed in the next major version. Use `cloudflare_workers_cron_trigger` instead.",
}
}

Expand Down

0 comments on commit 0753759

Please sign in to comment.