expire nodes with a custom timestamp (#2828)
This commit is contained in:
parent
456a5d5cce
commit
f9bb88ad24
16 changed files with 191 additions and 25 deletions
|
|
@ -27,9 +27,7 @@ const (
|
|||
NodeGivenNameTrimSize = 2
|
||||
)
|
||||
|
||||
var (
|
||||
invalidDNSRegex = regexp.MustCompile("[^a-z0-9-.]+")
|
||||
)
|
||||
var invalidDNSRegex = regexp.MustCompile("[^a-z0-9-.]+")
|
||||
|
||||
var (
|
||||
ErrNodeNotFound = errors.New("node not found")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue