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

Removed maps from template data #831

Merged
merged 3 commits into from Jan 30, 2018

Conversation

Projects
None yet
2 participants
@diptadas
Copy link
Contributor

commented Jan 30, 2018

Fixes #348

@diptadas diptadas requested a review from tamalsaha Jan 30, 2018

@tamalsaha tamalsaha merged commit 806c466 into master Jan 30, 2018

@tamalsaha tamalsaha deleted the rm-maps branch Jan 30, 2018

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Jan 31, 2018

We need stable ordering of items in TemplateData. This will ensure the generated haproxy.cfg is stable as long as the input is unchanged. In Golang, map iteration order is randomized. So, this fixes that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.