This commit is contained in:
mkelcik
2023-12-09 16:20:31 +01:00
parent bad00230a9
commit 26a3cf2a18
2 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ func main() {
}
if config.OnChangeComment != "" {
update.Comment = config.OnChangeComment
update.Comment = &config.OnChangeComment
}
if _, err := api.UpdateDNSRecord(ctx, cloudflare.ZoneIdentifier(zoneID), update); err != nil {