mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-30 18:49:00 +01:00
Add comments for dns errors
This commit is contained in:
parent
8789a4ad55
commit
83eb696fe4
@ -9,9 +9,9 @@ import (
|
||||
)
|
||||
|
||||
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")
|
||||
// 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")
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user