mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
kvm: Return capitalized NONE when no disk cache mode is set
This caused Instances not to start under rare circumstances
This commit is contained in:
parent
c319c0b3e0
commit
eeac81838f
@ -441,7 +441,7 @@ public class LibvirtVMDef {
|
||||
@Override
|
||||
public String toString() {
|
||||
if (_diskCacheMode == null) {
|
||||
return "none";
|
||||
return "NONE";
|
||||
}
|
||||
return _diskCacheMode;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user