1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

BUG: Register an error if EnzureZoneExists fails (#2703)

This commit is contained in:
Costas Drogos
2023-12-10 16:29:09 +01:00
committed by GitHub
parent 99e3f9f046
commit a6091f2ed4

View File

@ -211,6 +211,7 @@ func run(args PreviewArgs, push bool, interactive bool, out printer.CLI, report
// this is the actual push, ensure domain exists at DSP
if err := creator.EnsureZoneExists(domain.Name); err != nil {
out.Warnf("Error creating domain: %s\n", err)
anyErrors = true
continue // continue with next provider, as we couldn't create this one
}
}