Add comments for dns errors
This commit is contained in:
parent
8789a4ad55
commit
83eb696fe4
@ -9,9 +9,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
// ErrDNSWithNoQueryName
|
// ErrDNSWithNoQueryName is the error with which gatus will panic if a dns is configured without query name
|
||||||
ErrDNSWithNoQueryName = errors.New("you must specify query name for DNS")
|
ErrDNSWithNoQueryName = errors.New("you must specify query name for DNS")
|
||||||
// ErrDNSWithInvalidQueryType
|
// ErrDNSWithInvalidQueryType is the error with which gatus will panic if a dns is configured with invalid query type
|
||||||
ErrDNSWithInvalidQueryType = errors.New("invalid query type")
|
ErrDNSWithInvalidQueryType = errors.New("invalid query type")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user