Skip to content

Commit

Permalink
fix: misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Dec 17, 2023
1 parent 92abf6a commit d60fa13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/ns1_exporter/ns1_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var (

flagNS1EnableZoneQPS = kingpin.Flag(
"ns1.enable-zone-qps",
"Whether or not to enable retrieving zone-level QPS stats from the NS1 API (overriden by `--ns1.enable-record-qps`)",
"Whether or not to enable retrieving zone-level QPS stats from the NS1 API (overridden by `--ns1.enable-record-qps`)",
).Default("true").Bool()

flagNS1EnableSD = kingpin.Flag(
Expand Down
2 changes: 1 addition & 1 deletion pkg/exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
logger = promlog.New(&promlog.Config{})
)

// Worker is a struct containing configs needed to retreive stats from NS1 API
// Worker is a struct containing configs needed to retrieve stats from NS1 API
// to expose as prometheus metrics. It implements the prometheus.Collector interface
type Worker struct {
EnableZoneQPS bool
Expand Down
2 changes: 1 addition & 1 deletion pkg/servicediscovery/sd.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type HTTPSDTarget struct {
Labels promModel.LabelSet `json:"labels"`
}

// Worker is a struct containing configs needed to retreive stats from NS1 API
// Worker is a struct containing configs needed to retrieve stats from NS1 API
// to expose as prometheus metrics. It implements the prometheus.Collector interface
type Worker struct {
client *ns1_internal.Client
Expand Down

0 comments on commit d60fa13

Please sign in to comment.