From 40b33f9fc7d171124ac5369312fb8b6a956161ca Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 21 May 2026 14:17:30 +0900 Subject: internal/rosa: enforce exclusions This restores unexported artifact behaviour. Signed-off-by: Ophestra --- cmd/mbf/internal/pkgserver/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/mbf/internal/pkgserver/api.go') 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 -- cgit v1.3.1