Wuxiang пре 7 година
родитељ
комит
3a4371ad21
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/dns/server.go

+ 1 - 1
app/dns/server.go

@@ -81,7 +81,7 @@ func New(ctx context.Context, config *Config) (*Server, error) {
 			for _, domain := range ns.PrioritizedDomain {
 			for _, domain := range ns.PrioritizedDomain {
 				matcher, err := toStrMatcher(domain.Type, domain.Domain)
 				matcher, err := toStrMatcher(domain.Type, domain.Domain)
 				if err != nil {
 				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)
 				midx := domainMatcher.Add(matcher)
 				domainIndexMap[midx] = uint32(idx)
 				domainIndexMap[midx] = uint32(idx)