Merge pull request #1343 from wuxiangzhou2010/patch-2

fix a typo
pull/1350/head
Victoria Raymond 2018-10-29 20:39:54 +01:00 committed by GitHub
commit 2fcc011afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func New(ctx context.Context, config *Config) (*Server, error) {
for _, domain := range ns.PrioritizedDomain {
matcher, err := toStrMatcher(domain.Type, domain.Domain)
if err != nil {
return nil, newError("failed to create proritized domain").Base(err).AtWarning()
return nil, newError("failed to create prioritized domain").Base(err).AtWarning()
}
midx := domainMatcher.Add(matcher)
domainIndexMap[midx] = uint32(idx)