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

Fix discovery module loading #438

Conversation

chinmay-gupte
Copy link
Contributor

We were trying to create an object of HttpMetricsIndexHandler and "getting" the instance of discovery in it, even before actually loading it. This caused the instance to be null failing the metrics_list call.
This PR adds functionality to the discovery module loader, to try loading the discovery module, if null

@GeorgeJahad
Copy link
Contributor

+1

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 52.83% when pulling 4486142 on chinmay-gupte:chinmay/fix_discovery_module_loading_for_query into 790ce2d on rackerlabs:master.

@chinmay-gupte chinmay-gupte force-pushed the chinmay/fix_discovery_module_loading_for_query branch from 6cdea5c to 4486142 Compare February 19, 2015 20:09
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 52.82% when pulling 4486142 on chinmay-gupte:chinmay/fix_discovery_module_loading_for_query into 790ce2d on rackerlabs:master.

chinmay-gupte added a commit that referenced this pull request Feb 19, 2015
…le_loading_for_query

Fix discovery module loading
@chinmay-gupte chinmay-gupte merged commit aaf277e into rax-maas:master Feb 19, 2015
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.

None yet

3 participants