Skip to content

Commit

Permalink
correct type mismatched
Browse files Browse the repository at this point in the history
(cherry picked from commit c8acf98)
  • Loading branch information
AZ-X committed Jul 6, 2022
1 parent 824154e commit 40ffa10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repique/features/dns/nodes/dnscrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ func (n *dnscryptnode) boost(o *node) interface{} {
dlog.Debugf("abort dnscrypt early regulation boost")
return n.GetDefaultExpiration()
}
return time.Now().Add(regulation_cycle)
expired = time.Now().Add(regulation_cycle)
return &expired
}
}
dlog.Debugf("dnscrypt boost failed, %v", err)
Expand Down

0 comments on commit 40ffa10

Please sign in to comment.