Skip to content

Commit c1b2c9e

Browse files
committed
agent: dnsx/cacher fixes
1 parent 3dc0145 commit c1b2c9e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

intra/dnsx/cacher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,9 @@ func fillSummary(s *x.DNSSummary, out *x.DNSSummary) {
542542
return
543543
}
544544

545-
// pefer out
545+
// prefer out
546546

547-
if len(out.Type) != 0 {
547+
if len(out.Type) == 0 {
548548
out.Type = s.Type
549549
}
550550
if len(out.ID) <= 0 {

0 commit comments

Comments
 (0)