Update comment.

This commit is contained in:
Jacob Hoffman-Andrews 2016-02-16 10:56:52 -08:00
parent 20d6281e98
commit 02c4a47a4e
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ func (padb *PolicyAuthorityDatabaseImpl) allowedByWhitelist(host string) bool {
// CheckHostLists will query the database for white/blacklist rules that match host,
// if both whitelist and blacklist rules are found the blacklist will always win
// Returns errNotWhitelisted, errBlacklisted, or errDBFailure for the
// appropriate problems, or nil if the host is allowable.
func (padb *PolicyAuthorityDatabaseImpl) CheckHostLists(host string, requireWhitelisted bool) error {
if requireWhitelisted {
if !padb.allowedByWhitelist(host) {