fix(region): hide rbd disk secret

This commit is contained in:
Qu Xuan
2021-10-22 15:05:19 +08:00
parent cb56269f43
commit e26074b4c6
+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)