mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
fix(region): hide rbd disk secret
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user