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

Generated pipeline is not easy to diff. #14

Open
ghost opened this issue Oct 15, 2018 · 1 comment
Open

Generated pipeline is not easy to diff. #14

ghost opened this issue Oct 15, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Oct 15, 2018

I have two roughly similar properties (one stage and one prod) that I want to merge in a single pipeline. I created a new pipeline for each property and noticed from my diff that the JSON keys with the same values were often on different lines. e.g. :

"options": {
                "behavior": "MAX_AGE",
                "ttl": "1d",
                "mustRevalidate": false
            }

vs.

            "options": {
                "behavior": "MAX_AGE",
                "mustRevalidate": false,
                "ttl": "1d"
            }

Perhaps the lines could be sorted before the files are written to disk?

@humanshield314
Copy link
Contributor

Thanks for bringing this to our attention.

This is an interesting problem! We will look into a way to manage this!

@lkowalsk-akamai-com lkowalsk-akamai-com added the bug Something isn't working label May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants