Remove devMode from library and cli.

This commit is contained in:
xenolf 2015-10-26 00:47:37 +01:00
parent 8d31bb0123
commit 8b16d59831
3 changed files with 3 additions and 8 deletions

View file

@ -32,7 +32,7 @@ func setup(c *cli.Context) (*Configuration, *Account, *acme.Client) {
//TODO: move to account struct? Currently MUST pass email.
acc := NewAccount(c.GlobalString("email"), conf)
return conf, acc, acme.NewClient(c.GlobalString("server"), acc, conf.RsaBits(), conf.OptPort(), c.GlobalBool("devMode"))
return conf, acc, acme.NewClient(c.GlobalString("server"), acc, conf.RsaBits(), conf.OptPort())
}
func saveCertRes(certRes acme.CertificateResource, conf *Configuration) {