INNER CODE UNIT · JavaScript
setError
vdsm/virtual-dsm · web/js/script.js:513
function setError(text) {
console.warn(text);
return setInfo(text, false, true);
}
function setStopped() {
var msg = "<span style=\"display:block\">The container has stopped.</span>";
msg += "<span style=\"display:block; margin-top:1em; font-size:0.85em; font-weight:normal\">Check the container log for more details.</span>";
if (lastStatus.length > 0) {
msg += "<span style=\"display:block; margin-top:1em; font-size:0.75em; font-weight:normal; color:rgba(255,255,255,0.65)\">[ Last status: " + escapeContent(lastStatus) + " ]</span>";
}
return setError(msg);
}
function schedule() {