From 67d954c907afdfa0953129521815ed89d729b3bc Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 24 Feb 2020 21:37:48 +0800 Subject: [PATCH] not need check in basic set --- function/scf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/function/scf.php b/function/scf.php index 2a54565..bce634b 100644 --- a/function/scf.php +++ b/function/scf.php @@ -418,9 +418,9 @@ function updateEnvironment($Envs, $function_name, $Region, $Namespace, $SecretId function SetbaseConfig($Envs, $function_name, $Region, $Namespace, $SecretId, $SecretKey) { echo json_encode($Envs,JSON_PRETTY_PRINT); - $trynum = 0; + /*$trynum = 0; while( json_decode(getfunctioninfo($_SERVER['function_name'], $_SERVER['Region'], $_SERVER['namespace'], $SecretId, $SecretKey),true)['Response']['Status']!='Active' ) echo ' -'.++$trynum; +'.++$trynum;*/ //json_decode($a,true)['Response']['Environment']['Variables'][0]['Key'] $tmp = json_decode(getfunctioninfo($function_name, $Region, $Namespace, $SecretId, $SecretKey),true)['Response']['Environment']['Variables']; foreach ($tmp as $tmp1) {