forked from coop-cloud/abra
fix: ensure provider is set
This commit is contained in:
parent
bdae61ed51
commit
4d2a2d42fb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue