From 84bf3ffa50a4714e45bcdb58709091d7495014e1 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sat, 1 Jan 2022 21:34:07 +0100 Subject: [PATCH] fix: use right variable --- cli/internal/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/internal/validate.go b/cli/internal/validate.go index af5348df..4b46cb6b 100644 --- a/cli/internal/validate.go +++ b/cli/internal/validate.go @@ -270,7 +270,7 @@ func EnsureDNSValueFlag(c *cli.Context) error { } } - if DNSName == "" { + if DNSValue == "" { ShowSubcommandHelpAndError(c, errors.New("no record value provided")) }