forked from toolshed/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.
|
are listed. This zone must already be created on your provider account.
|
||||||
`,
|
`,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
|
if err := internal.EnsureDNSProvider(); err != nil {
|
||||||
|
logrus.Fatal(err)
|
||||||
|
}
|
||||||
|
|
||||||
zone, err := internal.EnsureZoneArgument(c)
|
zone, err := internal.EnsureZoneArgument(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Fatal(err)
|
logrus.Fatal(err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user