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
109b1c137a
commit
4f0fc5cb20
|
|
@ -431,7 +431,7 @@ public class LibvirtVMDef {
|
|||
@Override
|
||||
public String toString() {
|
||||
if (_diskCacheMode == null) {
|
||||
return "none";
|
||||
return "NONE";
|
||||
}
|
||||
return _diskCacheMode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue