diff --git a/xCAT-UI/js/custom/zvmUtils.js b/xCAT-UI/js/custom/zvmUtils.js index 7f161a732..23c3732fd 100644 --- a/xCAT-UI/js/custom/zvmUtils.js +++ b/xCAT-UI/js/custom/zvmUtils.js @@ -63,7 +63,7 @@ function loadHcpInfo(data) { // Get user directory entry var userEntry = data.rsp; - if (userEntry) { + if (userEntry[0].indexOf('Failed') < 0) { // Get disk pools $.ajax( { url : 'lib/cmd.php',