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:
Wido den Hollander 2014-08-18 23:58:50 +02:00
parent 109b1c137a
commit 4f0fc5cb20
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ public class LibvirtVMDef {
@Override
public String toString() {
if (_diskCacheMode == null) {
return "none";
return "NONE";
}
return _diskCacheMode;
}