From 17288401e6977ccb2bb7c3b232796a6ee5550233 Mon Sep 17 00:00:00 2001
From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de>
Date: Thu, 23 Jun 2022 16:54:29 +0200
Subject: [PATCH] main: Fix assignment to nil map

---
 main.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.go b/main.go
index 6f2df5b..1cf2ead 100644
--- a/main.go
+++ b/main.go
@@ -66,7 +66,7 @@ func (s *solver) CleanUp(ch *whapi.ChallengeRequest) error {
 	}
 
 	var lastErr error
-	var zones map[int]interface{}
+	zones := map[int]interface{}{}
 	for _, r := range records {
 		if r.Type != "txt_record" {
 			continue
-- 
GitLab