From 83eb696fe4e06a087d4b939884ffcb058e09e605 Mon Sep 17 00:00:00 2001 From: cemturker Date: Thu, 19 Nov 2020 13:59:03 +0100 Subject: [PATCH] Add comments for dns errors --- core/dns.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dns.go b/core/dns.go index 6958502e..6c07ce73 100644 --- a/core/dns.go +++ b/core/dns.go @@ -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") )