From d5d671b74d5503bd5287adeb1537eb4205226f68 Mon Sep 17 00:00:00 2001 From: Vladislav Stishenko Date: Sun, 29 Jun 2025 20:19:15 +0500 Subject: [PATCH] Fixed type in error logs in metrics.go Signed-off-by: Vladislav Stishenko --- metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/metrics.go b/metrics/metrics.go index e70c768..65b1d0f 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -153,7 +153,7 @@ func StartRecording(maxClients int64, prometheusEnabled bool, prometheusCleanUns case RecordEntryTypeStart: geohash, country, location, err := geoip.GeohashAndLocation(r.IpAddr, geoOption) if err != nil { - glog.Warningf("Failed to obatin the geohash of %v: %v.", r.IpAddr, err) + glog.Warningf("Failed to obtain the geohash of %v: %v.", r.IpAddr, err) } clientIP.With(prometheus.Labels{ "ip": r.IpAddr,