Merge pull request #13570 from ioito/hotfix/qx-rbd-disk-path

fix(host): rbd disk path
This commit is contained in:
Zexi Li
2022-03-02 12:00:56 +08:00
committed by GitHub
+1 -1
View File
@@ -83,7 +83,7 @@ func (d *SRBDDisk) GetDiskDesc() jsonutils.JSONObject {
}
func (d *SRBDDisk) GetDiskSetupScripts(idx int) string {
return fmt.Sprintf("DISK_%d=%s\n", idx, d.GetPath())
return fmt.Sprintf("DISK_%d='%s'\n", idx, d.GetPath())
}
func (d *SRBDDisk) DeleteAllSnapshot(skipRecycle bool) error {