Fixed type in error logs in metrics.go

Signed-off-by: Vladislav Stishenko <github@vst.name>
This commit is contained in:
Vladislav Stishenko
2025-06-29 20:19:15 +05:00
parent dbec0d7b36
commit d5d671b74d

View File

@@ -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,