修复AWS CloudFront部署函数中错误的入参

This commit is contained in:
Hanada 2025-05-13 02:04:28 +08:00
parent 3c6944a701
commit a13fb38e66

View File

@ -45,7 +45,7 @@ class aws implements DeployInterface
if (!$certInfo) throw new Exception('证书解析失败');
$cert_id = isset($info['cert_id']) ? $info['cert_id'] : null;
$cert_id = $this->get_cert_id($fullchain, $privatekey, $cert_id, $config['cert_name']);
$cert_id = $this->get_cert_id($fullchain, $privatekey, $cert_id);
usleep(500000);
$client = new AWSClient($this->AccessKeyId, $this->SecretAccessKey, 'cloudfront.amazonaws.com', 'cloudfront', '2020-05-31', 'us-east-1', $this->proxy);