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

ENV-variables get precedence over the ops-hash that is explicitly passed when calling OML4R::init #4

Open
vsercu opened this issue Jun 20, 2013 · 0 comments

Comments

@vsercu
Copy link

vsercu commented Jun 20, 2013

line 288: omlCollectUri = ENV['OML_COLLECT'] || ENV['OML_SERVER'] || opts[:collect] || opts[:omlServer]

should be:
omlCollectUri = opts[:collect] || opts[:omlServer] || ENV['OML_COLLECT'] || ENV['OML_SERVER']
so that the opts get priority? else its impossible to cleanly switch to another oml-server than the one that is specified in the omf-ec config

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

No branches or pull requests

1 participant