mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.1.0 -> release/2.2.0
* commit '5516983e0207c9b87ac8e2fb303b257ab6b6ba0f': 同步云盘名称
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