Skip to content
Snippets Groups Projects
Commit 3cad439c authored by Jake Taylor's avatar Jake Taylor
Browse files

Merge branch 'release' into hotfix/XX-4178

parents cc4857cf 6c1ccd50
No related branches found
No related tags found
3 merge requests!510Release,!365attempt to fix mutex segfault in HandleReceivedRequest,!354Channels impl
......@@ -136,8 +136,10 @@ func NewOrLoadStore(kv *versioned.KV) (*Store, error) {
}
if err := s.load(); err != nil {
if err != nil && !s.kv.Exists(err) {
if !s.kv.Exists(err) {
return s, s.save()
} else {
return nil, err
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment