From 8d8e509fe60f764f910dd9ae09fd2bd8989e9637 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Mon, 1 Oct 2018 08:02:02 -0700 Subject: [PATCH] Correctly initialize kv store if storage key missing --- cmd/storeconfig/storeconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/storeconfig/storeconfig.go b/cmd/storeconfig/storeconfig.go index 483d6c9c1..9a79ff139 100644 --- a/cmd/storeconfig/storeconfig.go +++ b/cmd/storeconfig/storeconfig.go @@ -86,7 +86,7 @@ func Run(kv *staert.KvSource, traefikConfiguration *cmd.TraefikConfiguration) fu } accountInitialized, err := keyExists(kv, traefikConfiguration.GlobalConfiguration.ACME.Storage) - if err != nil { + if err != nil && err != store.ErrKeyNotFound { return err }