We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7ff34 commit 2c8c8daCopy full SHA for 2c8c8da
exporter/api_types.go
@@ -70,9 +70,9 @@ func (radio radioResponse) Normalize() (r Radio) {
70
}
71
72
switch radio.Band {
73
- case "2.4GHz":
+ case "2.4GHz", "2.4 GHz":
74
r.Band = BandBGN
75
- case "5GHz":
+ case "5GHz", "5 GHz":
76
r.Band = BandAC
77
78
exporter/collector.go
@@ -19,7 +19,10 @@ type PortalCollector struct {
19
ctx context.Context // HTTP request context
20
21
22
-var _ prometheus.Collector = (*Collector)(nil)
+var (
23
+ _ prometheus.Collector = (*Collector)(nil)
24
+ _ prometheus.Collector = (*PortalCollector)(nil)
25
+)
26
27
const namespace = "cambium_maestro"
28
0 commit comments