1
0
Fork 0

Add tests on IPWhiteLister.

This commit is contained in:
Ludovic Fernandez 2018-04-03 18:36:03 +02:00 committed by Traefiker Bot
parent 1537861c61
commit 5921909ef5
2 changed files with 130 additions and 1 deletions

View file

@ -32,7 +32,7 @@ func NewIPWhiteLister(whiteList []string, useXForwardedFor bool) (*IPWhiteLister
whiteLister.whiteLister = ip
whiteLister.handler = negroni.HandlerFunc(whiteLister.handle)
log.Debugf("configured %u IP white list: %s", len(whiteList), whiteList)
log.Debugf("configured IP white list: %s", whiteList)
return &whiteLister, nil
}