Skip to content

Commit

Permalink
#patch: better invalid ip address error message
Browse files Browse the repository at this point in the history
  • Loading branch information
circa10a committed Nov 27, 2021
1 parent 2253115 commit 08b7f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geofence.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const (
freeGeoIPBaseURL = "https://api.freegeoip.app/json"
invalidSensitivityErrString = "invalid sensitivity. value must be between 0 - 5"
invalidIPAddressString = "invalid IPv4 address provided"
invalidIPAddressString = "invalid IP address provided"
deleteExpiredCacheItemsInternal = 10 * time.Minute
)

Expand Down

0 comments on commit 08b7f7a

Please sign in to comment.