Skip to content

Commit

Permalink
Fix example call to ObtainCertificate (go-acme#333)
Browse files Browse the repository at this point in the history
The previous example left out the MustStaple argument.
  • Loading branch information
jsha authored and xenolf committed Dec 26, 2016
1 parent e9c3078 commit ca19ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ca19ea1

Please sign in to comment.