Skip to content

Conversation

tklauser
Copy link
Contributor

@tklauser tklauser commented Jun 1, 2019

Use Utsname from golang.org/x/sys/unix which contains byte array
instead of int8/uint8 array members. This allows to simplify the string
conversions of these members.

Signed-off-by: Tobias Klauser tklauser@distanz.ch

@tklauser tklauser force-pushed the uname-string-conv branch from ef12fcb to 0b6db87 Compare June 1, 2019 22:11
Copy link
Member

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

👍

@tklauser tklauser force-pushed the uname-string-conv branch from 0b6db87 to 39e3c6d Compare August 9, 2019 12:04
@tklauser
Copy link
Contributor Author

tklauser commented Aug 9, 2019

Updated the PR to resolve the merge conflict in go.mod. Is there anything else needed for this to be merged?

@tklauser tklauser force-pushed the uname-string-conv branch from 39e3c6d to 72c5f64 Compare August 9, 2019 12:18
Use Utsname from golang.org/x/sys/unix which contains byte array
instead of int8/uint8 array members. This allows to simplify the string
conversions of these members.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser
Copy link
Contributor Author

Did another rebase to resolve merge conflicts.

@simonpasquier simonpasquier merged commit 02430f8 into prometheus:master Aug 21, 2019
@simonpasquier
Copy link
Member

Thanks!

@tklauser tklauser deleted the uname-string-conv branch August 22, 2019 07:18
@tklauser tklauser mentioned this pull request Aug 29, 2019
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.

3 participants