diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-07 21:12:15 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-07 22:08:57 +0900 |
| commit | 38450db74abdddfb3e366516f46e0e9c291002b1 (patch) | |
| tree | f985cd99b1be1d094d7465c07132d32f2046a8eb /cmd | |
| parent | 9344f694c7d8ec02f118bffa6f556f5b1cc7395c (diff) | |
internal/rosa: access backing storage through fs
This is more versatile than hardcoding the os.Root implementation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/mbf/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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} |
