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

chore: regenerated resources.go #349

Merged
merged 1 commit into from
Jan 21, 2019
Merged

Conversation

rhuss
Copy link
Contributor

@rhuss rhuss commented Jan 21, 2019

Not sure whether this is white-space diff only. But if so, the generation should
be fixed to yield the same format on every platform.

@rhuss
Copy link
Contributor Author

rhuss commented Jan 21, 2019

Could it be that the generation iterates of the hash map ? (so with undeterministic order)

@lburgazzoli
Copy link
Contributor

never had this issue, the generator is a bash script scripts/embed_resources.sh

@rhuss
Copy link
Contributor Author

rhuss commented Jan 21, 2019

Not sure what went wrong but in the checked in .go code its "crd-integration-context.yaml" before "cr-example.yaml", which is not in alphabetical order. ls by default should list in alphabetical order, but I added a "sort" now to be sure.

@lburgazzoli
Copy link
Contributor

maybe it was the result of a merge

... and ensure that the resources are picked up in alphabetical order
@rhuss rhuss force-pushed the pr/resource-regen branch from 105f779 to af12e92 Compare January 21, 2019 10:50
@lburgazzoli lburgazzoli merged commit 1f91e50 into apache:master Jan 21, 2019
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.

2 participants