Correctly initialize kv store if storage key missing

This commit is contained in:
Fabrice 2018-10-01 08:02:02 -07:00 committed by Traefiker Bot
parent 147e79ea07
commit 8d8e509fe6

View file

@ -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
}