Add comments for dns errors

This commit is contained in:
cemturker 2020-11-19 13:59:03 +01:00
parent 8789a4ad55
commit 83eb696fe4

View File

@ -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")
) )