Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
slrtbtfs committed Dec 12, 2024
1 parent 73630e8 commit edd297c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prober/prober.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (r *ProbeResult) failureInfoGauge() *prometheus.GaugeVec {
} else if r.failureReason == "" {
// Should not happen, but there theoretically might be an
// inconsistent state of the struct.
r.failureReason = "Unkown"
r.failureReason = "Unknown"
}

labels := []string{"reason"}
Expand All @@ -85,7 +85,7 @@ func (r *ProbeResult) log(logger *slog.Logger, duration float64) {
if r.failureReason == "" {
// Should not happen, but there theoretically might be an
// inconsistent state of the struct.
r.failureReason = "Probe failed for unkown reason"
r.failureReason = "Probe failed for unknown reason"
}
// converting the []string slice to an []any slice is a bit finicky
logDetails := make([]any, 0, len(r.failureDetails)+4)
Expand Down

0 comments on commit edd297c

Please sign in to comment.