fix(region): get mountpoint from guestdisk not disk's metadata

This commit is contained in:
rainzm
2022-03-08 19:02:48 +08:00
parent 0dc3525091
commit af1f721f50
+1
View File
@@ -249,6 +249,7 @@ func (self *SGuestdisk) ToDiskConfig() *api.DiskConfig {
}
conf := disk.ToDiskConfig()
conf.Index = int(self.Index)
conf.Mountpoint = self.Mountpoint
return conf
}