chore: phase 3 code quality — pipeline prefixes, godoc baseline

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-05-20 00:23:14 +07:00
co-authored by Cursor
parent 250cdea35d
commit ea65451160
5 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ func RefreshModuleIngest(ctx context.Context, st store.Backend, hc *http.Client,
return err
}
if !mod.Enabled {
return fmt.Errorf("module disabled")
return fmt.Errorf("pipeline: module disabled")
}
var prior []store.PrefixRow
@@ -185,7 +185,7 @@ func collectModulePrefixRows(ctx context.Context, st store.Backend, hc *http.Cli
}
return collectDomainPrefixRows(ctx, hc, mod, profiles, policy, entries)
default:
return nil, fmt.Errorf("unknown module type %q", mod.Type)
return nil, fmt.Errorf("pipeline: unknown module type %q", mod.Type)
}
}