fix(host): rbd disk path

This commit is contained in:
ioito
2022-03-02 11:41:35 +08:00
parent f0d14fce4f
commit b751b72c35
+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 {