[WIP] working download and replace.

This commit is contained in:
Vladimir Stoilov
2024-08-30 12:40:51 +03:00
parent f7abb700bf
commit 701505ae75
18 changed files with 168 additions and 276 deletions

View File

@@ -198,7 +198,7 @@ func getGeoIPDB(resource string) (*geoIPDB, error) {
}
func open(resource string) (*registry.File, error) {
f, err := module.instance.Updates().GetFile(resource)
f, err := module.instance.IntelUpdates().GetFile(resource)
if err != nil {
return nil, fmt.Errorf("getting file: %w", err)
}