mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Snapshot's package refs should always be here.
This commit is contained in:
3
debian/snapshot.go
vendored
3
debian/snapshot.go
vendored
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user