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
statfs.go
statfs_default.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
statfs_linux_386.go
statfs_uint32.go
uname_default.go
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
vmlimits_openbsd.go