mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-11 15:36:37 +00:00
chore: release 0.29.0.rc0 (#1600)
This commit is contained in:
@@ -10,11 +10,8 @@ func BoolToFloat(b bool) float64 {
|
||||
if b {
|
||||
return 1.0
|
||||
}
|
||||
return 0.0
|
||||
}
|
||||
|
||||
func IsEmpty(v *string) bool {
|
||||
return v == nil || *v == ""
|
||||
return 0.0
|
||||
}
|
||||
|
||||
func ToPTR[t any](v t) *t {
|
||||
|
||||
Reference in New Issue
Block a user