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

Use a cleaner initialization of separatorByteSlice #659

Merged
merged 1 commit into from Oct 15, 2019
Merged

Conversation

beorn7
Copy link
Member

@beorn7 beorn7 commented Oct 15, 2019

The const separatorByte wasn't used anymore actually. In vec.go,
we were using model.SeparatorByte, which is better anyway. So remove
the unused constant and initialize separatorByteSlice with
model.SeparatorByte, too.

@cstyan follow-up to your comment on #657 .

The `const separatorByte` wasn't used anymore actually. In `vec.go`,
we were using `model.SeparatorByte`, which is better anyway. So remove
the unused constant and initialize `separatorByteSlice` with
`model.SeparatorByte`, too.

Signed-off-by: beorn7 <beorn@grafana.com>
@beorn7 beorn7 merged commit 39fc195 into master Oct 15, 2019
@beorn7 beorn7 deleted the beorn7/nit branch October 15, 2019 18:02
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

2 participants