diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-21 14:17:30 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-21 14:48:16 +0900 |
| commit | 40b33f9fc7d171124ac5369312fb8b6a956161ca (patch) | |
| tree | a89d517420bd330d224442b0e425606d390b1b40 /cmd/mbf/internal/pkgserver/api.go | |
| parent | 443a7a30f618c32fea6e564f0fcf0822a0d43538 (diff) | |
internal/rosa: enforce exclusions
This restores unexported artifact behaviour.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/mbf/internal/pkgserver/api.go')
| -rw-r--r-- | cmd/mbf/internal/pkgserver/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mbf/internal/pkgserver/api.go b/cmd/mbf/internal/pkgserver/api.go index e73b8bbe..125be829 100644 --- a/cmd/mbf/internal/pkgserver/api.go +++ b/cmd/mbf/internal/pkgserver/api.go @@ -30,7 +30,7 @@ var ( // handleInfo writes constant system information. func handleInfo(w http.ResponseWriter, _ *http.Request) { infoPayloadOnce.Do(func() { - infoPayload.Count = int(rosa.Native().Count()) + infoPayload.Count = len(rosa.Native().Collect()) infoPayload.HakureiVersion = info.Version() }) // TODO(mae): cache entire response if no additional fields are planned |
