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

Sort items before write #590

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Sort items before write #590

merged 1 commit into from
Jul 20, 2023

Conversation

jafowler
Copy link
Contributor

@jafowler jafowler commented Jul 18, 2023

While working through some issues with Version Compare, we noticed that Rulesets doesn't return phases in a specific order.

This PR will sort Rulesets by phases.

@jafowler jafowler force-pushed the sort-items-before-write branch 2 times, most recently from 4668024 to 7c89532 Compare July 18, 2023 16:36
@@ -9,7 +9,7 @@ resource "cloudflare_zone_settings_override" "terraform_managed_resource" {
browser_check = "on"
cache_level = "aggressive"
challenge_ttl = 2700
ciphers = ["ECDHE-RSA-AES128-GCM-SHA256", "AES128-SHA"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think we can blindly sort these as they are in the order at which they should be offered iirc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, I will remove the logic that does this then. It will make things difficult / we might see some false positives in comparisons, but it should be alright i think.

@jafowler jafowler force-pushed the sort-items-before-write branch from 7c89532 to 546f3c2 Compare July 19, 2023 11:42
@jafowler jafowler merged commit 7030396 into master Jul 20, 2023
@jafowler jafowler deleted the sort-items-before-write branch July 20, 2023 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants