Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Conversation

@turbaszek
Copy link
Member

@turbaszek turbaszek commented Oct 27, 2020

Follow up after #74

We still need to remove the using of kibble.yaml in few places but I wanted to limit a scope of this changes (for example it would be good to refactor connecting to es database - currently we implement same class two times #84 ).

try:
return bool(self.get(section, key))
except Exception:
raise TypeError("Unable to convert value to bool")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skekre98 unfortunately I had to remove those method as it seems that ConfigParser already implements getint and getboolean

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem, I'm sure they have a better implementation anyways 😄

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skekre98 would you mind reviewing those changes? 😉

@turbaszek turbaszek merged commit 6959f3c into apache:main Nov 2, 2020
@turbaszek turbaszek deleted the use-config-parser-instead-of-yaml branch November 2, 2020 18:21
@turbaszek turbaszek mentioned this pull request Nov 2, 2020
@kaxil kaxil mentioned this pull request Dec 12, 2020
turbaszek referenced this pull request Dec 12, 2020
Before this commit I got this error when running Kibble locally:
This was because https://github.com/apache/kibble/pull/83 replaced kibble.yaml with kibble.ini
This PR reads the config from `kibble.ini`.
This also adds a network to docker-compose file without which I was getting host not found error.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants