From ca19ea1c193dc0c3e14659b33b047bbbe17ff9aa Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Mon, 26 Dec 2016 15:41:19 -0800 Subject: [PATCH] Fix example call to ObtainCertificate (#333) The previous example left out the MustStaple argument. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 136bc554..9be56294 100644 --- a/README.md +++ b/README.md @@ -244,7 +244,7 @@ if err != nil { // The acme library takes care of completing the challenges to obtain the certificate(s). // The domains must resolve to this machine or you have to use the DNS challenge. bundle := false -certificates, failures := client.ObtainCertificate([]string{"mydomain.com"}, bundle, nil) +certificates, failures := client.ObtainCertificate([]string{"mydomain.com"}, bundle, nil, false) if len(failures) > 0 { log.Fatal(failures) }