mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
snap: fix missing continue
This commit is contained in:
parent
12a9b84b2b
commit
f7580cd3b6
@ -82,6 +82,7 @@ func (s *Snapshotter) Load() (*raft.Snapshot, error) {
|
||||
}
|
||||
if err = json.Unmarshal(serializedSnap.Data, &snap); err != nil {
|
||||
log.Printf("Corruptted snapshot file %v: %v", name, err)
|
||||
continue
|
||||
}
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user