Skip to content

Commit

Permalink
Fix not using useragent
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Jan 15, 2025
1 parent 1354eb4 commit b28e8e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/clients/clientimpl/localmatcher/zip.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ func NewZippedDB(ctx context.Context, dbBasePath, name, url, userAgent string, o
ArchiveURL: url,
Offline: offline,
StoredAt: path.Join(dbBasePath, name, "all.zip"),
UserAgent: userAgent,
}
if err := db.load(ctx); err != nil {
return nil, fmt.Errorf("unable to fetch OSV database: %w", err)
Expand Down

0 comments on commit b28e8e6

Please sign in to comment.