rc: Fix mount/listmounts not returning the full Fs entered in mount/mount

This commit is contained in:
Tom Mombourquette 2022-10-19 22:40:20 -03:00 committed by Nick Craig-Wood
parent 0d2a62a927
commit 38f1f5b177

View file

@ -258,7 +258,7 @@ func listMountsRc(_ context.Context, in rc.Params) (out rc.Params, err error) {
for _, k := range keys { for _, k := range keys {
m := liveMounts[k] m := liveMounts[k]
info := MountInfo{ info := MountInfo{
Fs: m.Fs.Name(), Fs: fs.ConfigString(m.Fs),
MountPoint: m.MountPoint, MountPoint: m.MountPoint,
MountedOn: m.MountedOn, MountedOn: m.MountedOn,
} }