mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
同步云盘名称
This commit is contained in:
@@ -122,6 +122,9 @@ func (self *SDisk) Resize(size int64) error {
|
||||
}
|
||||
|
||||
func (self *SDisk) GetName() string {
|
||||
if len(self.DiskName) > 0 {
|
||||
return self.DiskName
|
||||
}
|
||||
return self.DiskId
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user