add integration test guard;

datadog integration test works

influx package tests

update unifi version

golanglint-ci and address *all* issues.

all tests pass

bump unifi version
This commit is contained in:
Cody Lee
2023-07-20 10:12:44 -05:00
parent 8cf461b0f5
commit ffb8579369
57 changed files with 2241 additions and 178 deletions

View File

@@ -14,6 +14,7 @@ func tagMapToTags(tagMap map[string]string) []string {
for k, v := range tagMap {
tags = append(tags, tag(k, v))
}
return tags
}
@@ -22,6 +23,7 @@ func tagMapToSimpleStrings(tagMap map[string]string) string {
for k, v := range tagMap {
result = fmt.Sprintf("%s%s=\"%v\", ", result, k, v)
}
return strings.TrimRight(result, ", ")
}
@@ -52,5 +54,6 @@ func boolToFloat64(v bool) float64 {
if v {
return 1.0
}
return 0.0
}