mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue