Snapshot's package refs should always be here.

This commit is contained in:
Andrey Smirnov
2013-12-23 12:17:48 +04:00
parent 93782d0c2b
commit 0f1f0a542c

3
debian/snapshot.go vendored
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
}