Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unexpected validation error when ttl is set with variable #4414

Closed

Conversation

digglife
Copy link

@digglife digglife commented Oct 24, 2024

When default is set with variable, it will be unknown in the request sent to the plugin, so the validation will fail. With this change, the plugin can handle this case correctly.

The validation still works when mode is override_origin and default is not set(which will be null) or <=0.

fixes: #4412

Copy link
Contributor

github-actions bot commented Oct 24, 2024

changelog detected ✅

@digglife
Copy link
Author

digglife commented Nov 6, 2024

Hi @jacobbednarz
Could you please kindly review this PR? Thanks!

Issue: #4412

Copy link
Contributor

Marking this pull request as stale due to 14 days of inactivity. This helps our maintainers find and focus on the active pull requests. If this pull request receives no comments in the next 7 days it will automatically be closed. Maintainers can also remove the lifecycle/stale label.
If this pull request was automatically closed and you feel this pull request should be reopened, we encourage creating a new pull request linking back to this one for added context. Thank you!

Copy link
Contributor

This PR was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected Validation Error for TTL Settings of cloudflare_ruleset
1 participant