check_deploy in output
This commit is contained in:
@@ -22,11 +22,14 @@ function check_install() { // is install in progress
|
||||
else return "";
|
||||
}
|
||||
|
||||
function check_deploy() { // is a deploy in progress
|
||||
function check_deploy($application) { // is an application deploy in progress
|
||||
|
||||
$arr = check_request("deployment");
|
||||
if (!empty($arr)) return "deployment"; // deploy in progress
|
||||
else return 0;
|
||||
if (!empty($arr)) return "deployment"; // deploy in progress install has started
|
||||
else {
|
||||
$arr = check_response("deploy-".$application); // application install in progress PID exists
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
function check_redis($group="web_out", $key="") {
|
||||
|
Reference in New Issue
Block a user