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

Setting 'tag_keys' never happend for strings? #84

Open
mguryanov opened this issue Jan 19, 2018 · 0 comments
Open

Setting 'tag_keys' never happend for strings? #84

mguryanov opened this issue Jan 19, 2018 · 0 comments

Comments

@mguryanov
Copy link

This chunk of code looks buggy.

if tag_keys.empty? && !@auto_tags
values = record
tags = {}
else
values = {}
tags = {}
record.each_pair do |k, v|
if (@auto_tags && v.is_a?(String)) || @tag_keys.include?(k)

'tag_keys' never works for strings or/and 'auto_tags' is false, it's right logic?

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