From cfda210fdc313e8735813f00c6661eddb8bc52e0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Aug 2020 10:38:41 +0800 Subject: [PATCH] add Platform description in install --- platform/AliyunFC.php | 2 +- platform/HuaweiFG_env.php | 1 + platform/HuaweiFG_file.php | 1 + platform/TencentSCF_env.php | 2 +- platform/TencentSCF_file.php | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/platform/AliyunFC.php b/platform/AliyunFC.php index b3d7a77..81d2161 100644 --- a/platform/AliyunFC.php +++ b/platform/AliyunFC.php @@ -299,7 +299,7 @@ function SetbaseConfig($Envs, $accountId, $region, $service_name, $function_name ksort($tmp_env); $tmpdata['functionName'] = $function_name; - $tmpdata['description'] = 'Onedrive index and manager in Ali FC.'; + $tmpdata['description'] = 'Onedrive index and manager in Aliyun FC.'; $tmpdata['memorySize'] = 128; $tmpdata['timeout'] = 30; $tmpdata['runtime'] = 'php7.2'; diff --git a/platform/HuaweiFG_env.php b/platform/HuaweiFG_env.php index 9e3af2f..254f4d5 100644 --- a/platform/HuaweiFG_env.php +++ b/platform/HuaweiFG_env.php @@ -366,6 +366,7 @@ function SetbaseConfig($Envs, $HW_urn, $HW_key, $HW_secret) $tmpdata['memory_size'] = 128; $tmpdata['runtime'] = 'PHP7.3'; $tmpdata['timeout'] = 30; + $tmpdata['description'] = 'Onedrive index and manager in Huawei FG.'; $tmpdata['user_data'] = json_encode($tmp_env); $req->body = json_encode($tmpdata); $curl = $signer->Sign($req); diff --git a/platform/HuaweiFG_file.php b/platform/HuaweiFG_file.php index 79a684c..5fa69da 100644 --- a/platform/HuaweiFG_file.php +++ b/platform/HuaweiFG_file.php @@ -429,6 +429,7 @@ function SetbaseConfig($Envs, $HW_urn, $HW_key, $HW_secret) $tmpdata['memory_size'] = 128; $tmpdata['runtime'] = 'PHP7.3'; $tmpdata['timeout'] = 30; + $tmpdata['description'] = 'Onedrive index and manager in Huawei FG.'; $tmpdata['user_data'] = json_encode($envs); $req->body = json_encode($tmpdata); $curl = $signer->Sign($req); diff --git a/platform/TencentSCF_env.php b/platform/TencentSCF_env.php index fd4552e..cbbe4f3 100644 --- a/platform/TencentSCF_env.php +++ b/platform/TencentSCF_env.php @@ -377,7 +377,7 @@ function SetbaseConfig($Envs, $function_name, $Region, $Namespace, $SecretId, $S $tmpdata['Timestamp'] = time(); $tmpdata['Token'] = ''; $tmpdata['Version'] = '2018-04-16'; - $tmpdata['Description'] = 'Onedrive index and manager in SCF.'; + $tmpdata['Description'] = 'Onedrive index and manager in Tencent SCF.'; $tmpdata['MemorySize'] = 64; $tmpdata['Timeout'] = 30; $data = ReorganizeDate($tmpdata); diff --git a/platform/TencentSCF_file.php b/platform/TencentSCF_file.php index 416454a..3ce3a07 100644 --- a/platform/TencentSCF_file.php +++ b/platform/TencentSCF_file.php @@ -425,7 +425,7 @@ function SetbaseConfig($Envs, $function_name, $Region, $Namespace, $SecretId, $S $tmpdata['Timestamp'] = time(); $tmpdata['Token'] = ''; $tmpdata['Version'] = '2018-04-16'; - $tmpdata['Description'] = 'Onedrive index and manager in SCF.'; + $tmpdata['Description'] = 'Onedrive index and manager in Tencent SCF.'; $tmpdata['MemorySize'] = 64; $tmpdata['Timeout'] = 30; $data = ReorganizeDate($tmpdata);