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

DevTree search fails after adding a DataSource #78

Open
tristanlatr opened this issue Sep 25, 2020 · 0 comments
Open

DevTree search fails after adding a DataSource #78

tristanlatr opened this issue Sep 25, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@tristanlatr
Copy link
Contributor

Describe
After adding anew DataSource withDevTree.add(), if we call DevTree.search() if raises a KeyError "hostname".
We need to call DevTree.refresh() before being able to search the tree again.

The expected behaviour is that the add() method would verify if the Data source was indeed added, then refresh only the Datasource infos.

@tristanlatr tristanlatr added the bug Something isn't working label Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant