From e26074b4c69cdbef5c490e48f968f02e72279759 Mon Sep 17 00:00:00 2001 From: Qu Xuan Date: Fri, 22 Oct 2021 15:05:19 +0800 Subject: [PATCH] fix(region): hide rbd disk secret --- pkg/hostman/storageman/disk_rbd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/hostman/storageman/disk_rbd.go b/pkg/hostman/storageman/disk_rbd.go index bfa601a830..ab6e0d39fb 100644 --- a/pkg/hostman/storageman/disk_rbd.go +++ b/pkg/hostman/storageman/disk_rbd.go @@ -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)