1
0
Fork 0

Bump Lego Version for GoDaddy DNS Provider

This commit is contained in:
Sami Jawhar 2017-11-30 01:44:03 -08:00 committed by Traefiker
parent 7081f3df58
commit e042ef3f27
7 changed files with 184 additions and 16 deletions

View file

@ -329,8 +329,10 @@ func run(c *cli.Context) error {
}
func revoke(c *cli.Context) error {
conf, _, client := setup(c)
conf, acc, client := setup(c)
if acc.Registration == nil {
logger().Fatalf("Account %s is not registered. Use 'run' to register a new account.\n", acc.Email)
}
err := checkFolder(conf.CertPath())
if err != nil {
@ -355,7 +357,10 @@ func revoke(c *cli.Context) error {
}
func renew(c *cli.Context) error {
conf, _, client := setup(c)
conf, acc, client := setup(c)
if acc.Registration == nil {
logger().Fatalf("Account %s is not registered. Use 'run' to register a new account.\n", acc.Email)
}
if len(c.GlobalStringSlice("domains")) <= 0 {
logger().Fatal("Please specify at least one domain.")