Skip to content

Commit 73a96bd

Browse files
committed
log missing geoip2 db
1 parent ec7adcc commit 73a96bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/nginx/maxmind.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ func GeoLite2DBExists() bool {
7171
for _, dbName := range strings.Split(MaxmindEditionIDs, ",") {
7272
filename := dbName + dbExtension
7373
if !fileExists(path.Join(geoIPPath, filename)) {
74+
klog.Error(filename, " not found")
7475
return false
7576
}
7677
files = append(files, filename)

0 commit comments

Comments
 (0)