prometheus/util/runtime
Julien Pivotto 637235f0a6 Revert type casting removal
This reverts the removal of type casting due to an error in the
dragonfly integration. The change in the type casting introduced by the
commit causes a type mismatch, resulting in the following errors:

util/runtime/limits_default.go:42:57: cannot use rlimit.Cur (variable of type int64) as type uint64 in argument to limitToString
util/runtime/limits_default.go:42:90: cannot use rlimit.Max (variable of type int64) as type uint64 in argument to limitToString

Reverting this commit to resolve the type mismatch error and maintain compatibility with the dragonfly integration.

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-04-20 16:36:25 +02:00
..
limits_default.go Revert type casting removal 2023-04-20 16:36:25 +02:00
limits_windows.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
statfs.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
statfs_default.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
statfs_linux_386.go Run gofumpt on all files (#10392) 2022-03-03 17:21:05 +01:00
statfs_uint32.go Run gofumpt on all files (#10392) 2022-03-03 17:21:05 +01:00
uname_default.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
uname_linux.go util/runtime: use ByteSliceToString from golang.org/x/sys/unix in Uname (#11070) 2022-07-30 19:35:03 +02:00
vmlimits_default.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
vmlimits_openbsd.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00