From f3a4f46d78b824a45cb9a9e724e500fa95e4f45d Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 18 Jan 2019 10:39:00 -0700 Subject: [PATCH] vendor: Update certmagic; fix #2400 --- vendor/github.com/mholt/certmagic/config.go | 4 ++++ vendor/manifest | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/vendor/github.com/mholt/certmagic/config.go b/vendor/github.com/mholt/certmagic/config.go index b1085f3fc..cd6788fff 100644 --- a/vendor/github.com/mholt/certmagic/config.go +++ b/vendor/github.com/mholt/certmagic/config.go @@ -289,6 +289,10 @@ func (cfg *Config) ObtainCert(name string, interactive bool) error { return nil } + if cfg.storageHasCertResources(name) { + return nil + } + client, err := cfg.newACMEClient(interactive) if err != nil { return err diff --git a/vendor/manifest b/vendor/manifest index 8e126b091..8256a5de1 100644 --- a/vendor/manifest +++ b/vendor/manifest @@ -138,7 +138,7 @@ "importpath": "github.com/mholt/certmagic", "repository": "https://github.com/mholt/certmagic", "vcs": "git", - "revision": "707b20497ed70e559300ae4e91c6fd7db973fffc", + "revision": "01ffe8b3c7d611483ef936e90845329709721127", "branch": "master", "notests": true },