Closed stphung closed 9 years ago
Beep .. you can't do that. Keep in mind the bindings are run by any ocho container out there. If you lookup on $HOSTNAME you'll look yourself up. This will work right now for the portal (since ZK is co-located on that pod) but fail for everybody else..
Whoops, yes that makes sense, need to essentially do the following for this to work:
I'll close this pull request and open another later, thanks for the catch and feedback.
Using env['HOSTNAME'] instead of ocho-proxy to look up pod information, this allows the pod to succeed in pod information lookup no matter what the name of the pod is. (Replication controller support)