Snapshot's package refs should always be here.

This commit is contained in:
Andrey Smirnov committed 2013-12-23 12:17:48 +04:00
1 parent 93782d0c2b
commit 0f1f0a542c
1 file changed
-3
-3
View File
@@ -137,9 +137,6 @@ func (collection *SnapshotCollection) Update(snapshot *Snapshot) error {
// LoadComplete loads additional information about snapshot
func (collection *SnapshotCollection) LoadComplete(snapshot *Snapshot) error {
encoded, err := collection.db.Get(snapshot.RefKey())
if err == database.ErrNotFound {
return nil
}
if err != nil {
return err
}