From 54e96f6fc56aad5f1f415b0dfde92f6fcaf76441 Mon Sep 17 00:00:00 2001 From: xenolf Date: Mon, 7 Dec 2015 16:51:28 +0100 Subject: [PATCH] Document that ObtainSANCertificate will never return a partial certificate on error. --- acme/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acme/client.go b/acme/client.go index 6897ed4b..ae67b897 100644 --- a/acme/client.go +++ b/acme/client.go @@ -232,6 +232,8 @@ func (c *Client) ObtainCertificates(domains []string, bundle bool) ([]Certificat // domains are added using the Subject Alternate Names extension. // If bundle is true, the []byte contains both the issuer certificate and // your issued certificate as a bundle. +// This function will never return a partial certificate. If one domain in the list fails, +// the while certificate will fail. func (c *Client) ObtainSANCertificate(domains []string, bundle bool) (CertificateResource, map[string]error) { if bundle { logf("[INFO] acme: Obtaining bundled SAN certificate for %v", strings.Join(domains, ", "))