Skip to content

Commit

Permalink
Correctly initialize kv store if storage key missing
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrabaute authored and traefiker committed Oct 1, 2018
1 parent 147e79e commit 8d8e509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/storeconfig/storeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 8d8e509

Please sign in to comment.