mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +08:00
fix: 解决概览页磁盘挂载点路径带空格无法正常显示的问题 (#5678)
This commit is contained in:
parent
9a38dcd2a7
commit
9e103baf94
@ -253,7 +253,7 @@ func loadDiskInfo() []dto.DiskInfo {
|
|||||||
if isExclude {
|
if isExclude {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
mounts = append(mounts, diskInfo{Type: fields[1], Device: fields[0], Mount: fields[6]})
|
mounts = append(mounts, diskInfo{Type: fields[1], Device: fields[0], Mount: strings.Join(fields[6:], " ")})
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user