mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:00 -04:00
remote upgrade metrics for #433
This commit is contained in:
@@ -47,3 +47,10 @@ func cleanTags(tags map[string]string) map[string]string {
|
||||
|
||||
return tags
|
||||
}
|
||||
|
||||
func boolToFloat64(v bool) float64 {
|
||||
if v {
|
||||
return 1.0
|
||||
}
|
||||
return 0.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user