Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krivak committed Sep 9, 2023
1 parent 8245706 commit f953771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
// List of string constants from the XML API responses.
const (
OperStateOK = "OPERATIONAL"
NetworkAccessAllowed = "NetworkAccess"
NetworkAccessAllowed = "Allowed"
)

// CMSystemInfo shows cable modem system info.
Expand Down
2 changes: 1 addition & 1 deletion collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (c *Collector) collectCMSSystemInfo(
}, []string{"mode"})
cmHardwareVersionGauge := prometheus.NewGaugeVec(prometheus.GaugeOpts{
Name: "connect_box_cm_hardware_version",
Help: "Hardware_version.",
Help: "Hardware version.",
}, []string{"version"})
cmMacAddrGauge := prometheus.NewGaugeVec(prometheus.GaugeOpts{
Name: "connect_box_cm_mac_addr",
Expand Down

0 comments on commit f953771

Please sign in to comment.