Skip to content

fixed a bug in the instrument config option#547

Closed
beniwohli wants to merge 1 commit into
elastic:masterfrom
beniwohli:fix-546
Closed

fixed a bug in the instrument config option#547
beniwohli wants to merge 1 commit into
elastic:masterfrom
beniwohli:fix-546

Conversation

@beniwohli

@beniwohli beniwohli commented Aug 5, 2019

Copy link
Copy Markdown
Contributor

this happened during a rename a while ago. The attribute was renamed,
but not the name in the ConfigValue constructor call. Ideally,
ConfigValue would get the name from the attribute name, which should
be possible by using a metaclass. Using metaclasses in a shared py2/py3
code base is somewhat cumbersome though, so let's wait with that until
we drop support for Python 2.

fixes #546

this happened during a rename a while ago. The attribute was renamed,
but not the name in the `ConfigValue` constructor call. Ideally,
`ConfigValue` would get the name from the attribute name, which should
be possible by using a metaclass. Using metaclasses in a shared py2/py3
code base is somewhat cumbersome though, so let's wait with that until
we drop support for Python 2.

fixes elastic#546
@beniwohli beniwohli closed this in ec27045 Aug 5, 2019
@beniwohli beniwohli deleted the fix-546 branch August 5, 2019 13:52
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.

Cant' disable instrumentation of code

1 participant