fix: ensure provider is set
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-10-25 20:01:20 +02:00
parent bdae61ed51
commit 4d2a2d42fb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ You must specify a zone (e.g. example.com) under which your domain name records
are listed. This zone must already be created on your provider account.
`,
Action: func(c *cli.Context) error {
if err := internal.EnsureDNSProvider(); err != nil {
logrus.Fatal(err)
}
zone, err := internal.EnsureZoneArgument(c)
if err != nil {
logrus.Fatal(err)