-
Notifications
You must be signed in to change notification settings - Fork 320
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
Not working with Go Get #221
Comments
Are you getting those errors doing a The new ReadFileNoStat function is in the internal.util package. Do you see this in your procfs directory? |
Hi, |
The problem is in PR #219. It added
@pgier This problem affects non-Linux OSes; you probably tested on Linux. |
This allows it to be built on all platforms Fixes prometheus#221 Signed-off-by: Paul Gier <[email protected]>
Sorry about that, I have created #222 to hopefully fix this. |
This allows it to be built on all platforms Fixes prometheus#221. Also, updates the max size to 512k (instead of 500k) to match the comment. Signed-off-by: Paul Gier <[email protected]>
This allows it to be built on all platforms Fixes #221. Also, updates the max size to 512k (instead of 500k) to match the comment. Signed-off-by: Paul Gier <[email protected]>
This allows it to be built on all platforms Fixes prometheus#221. Also, updates the max size to 512k (instead of 500k) to match the comment. Signed-off-by: Paul Gier <[email protected]>
Hi,
Trying to use go get and compile, but getting complaints from the commit that went in a day ago:
./cpuinfo.go:58:15: undefined: util.ReadFileNoStat
./ipvs.go:70:15: undefined: util.ReadFileNoStat
./proc.go:125:15: undefined: util.ReadFileNoStat
./proc.go:139:15: undefined: util.ReadFileNoStat
./proc_environ.go:26:15: undefined: util.ReadFileNoStat
./proc_fdinfo.go:48:15: undefined: util.ReadFileNoStat
./proc_io.go:46:15: undefined: util.ReadFileNoStat
./proc_psi.go:60:15: undefined: util.ReadFileNoStat
./proc_stat.go:116:15: undefined: util.ReadFileNoStat
./proc_status.go:78:15: undefined: util.ReadFileNoStat
./proc_status.go:78:15: too many errors
Thanks!
The text was updated successfully, but these errors were encountered: