Skip to content

Commit

Permalink
Update snapshot.go
Browse files Browse the repository at this point in the history
lets go back 2 days?
  • Loading branch information
loosebazooka authored Nov 8, 2023
1 parent 9f54c4f commit 307cfa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian_package_manager/internal/deb/snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ import (

func LatestSnapshot() (*config.Snapshots, error) {
snapshotURL := "https://snapshot.debian.org/archive/debian/?year=%d&month=%d"
s, err := latest(snapshotURL, 1)
s, err := latest(snapshotURL, 2)
if err != nil {
return nil, errors.Wrap(err, "calculating latest snapshot")
}

securitySnapshotURL := "https://snapshot.debian.org/archive/debian-security/?year=%d&month=%d"
ss, err := latest(securitySnapshotURL, 1)
ss, err := latest(securitySnapshotURL, 2)
if err != nil {
return nil, errors.Wrap(err, "calculating latest security snapshot")
}
Expand Down

0 comments on commit 307cfa2

Please sign in to comment.