From 38450db74abdddfb3e366516f46e0e9c291002b1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 7 Jun 2026 21:12:15 +0900 Subject: internal/rosa: access backing storage through fs This is more versatile than hardcoding the os.Root implementation. Signed-off-by: Ophestra --- cmd/mbf/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index ae835500..8047e0c4 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -522,7 +522,7 @@ func main() { if base, err := os.OpenRoot(cm.base); err != nil { return err } else { - h = rosa.NewMirror(msg, base, key) + h = rosa.NewMirror(msg, base.FS(), key) } server := http.Server{Addr: args[0], Handler: h} -- cgit v1.3.1