mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'ab6eae05b274abc01be7390e348fea1373c758f9': region: server-list add cdrom
This commit is contained in:
@@ -1053,6 +1053,11 @@ func (self *SGuest) GetCustomizeColumns(ctx context.Context, userCred mcclient.T
|
||||
}
|
||||
extra.Add(isGpu, "is_gpu")
|
||||
|
||||
extra.Add(jsonutils.JSONNull, "cdrom")
|
||||
if cdrom := self.getCdrom(); cdrom != nil {
|
||||
extra.Set("cdrom", jsonutils.NewString(cdrom.GetDetails()))
|
||||
}
|
||||
|
||||
return self.moreExtraInfo(extra)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user