Merge pull request #12498 from ioito/hotfix/qx-rbd-secret

fix(region): hide rbd disk secret
This commit is contained in:
Zexi Li
2021-10-22 16:50:40 +08:00
committed by GitHub
+1 -1
View File
@@ -80,7 +80,7 @@ func (d *SRBDDisk) GetDiskDesc() jsonutils.JSONObject {
desc := map[string]interface{}{
"disk_id": d.Id,
"disk_format": "raw",
"disk_path": d.GetPath(),
"disk_path": d.getPath(),
"disk_size": sizeMb,
}
return jsonutils.Marshal(desc)