If I make a request for xyz123, HAProxy will match xyz first. This is because the way HAProxy uses essentially "starts with" to route the request based on the start of the service URI. I have not been able to figure out a way to change the order of the range using either standard golang template functionality or consul template functions. Am I missing something simple, or would this need to be something added to the functions that consul template add to the func map?
Cheers,
Jeff
scratch.MapSet with the keys set such that when sorted they'd order them the way you'd like... you can sort things that way. --
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/consul/issues
Community chat: https://gitter.im/hashicorp-consul/Lobby
---
You received this message because you are subscribed to the Google Groups "Consul" group.
To unsubscribe from this group and stop receiving emails from it, send an email to consul-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/consul-tool/be0ce2b2-b0dd-48ad-922c-86d46746c10f%40googlegroups.com.