mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 13:39:53 +00:00
commit
60bc4be9ea
@ -268,6 +268,7 @@ func (d *DeployerProvider) updateHttpsListenerCertificate(ctx context.Context, c
|
|||||||
updateAppHTTPSListenerReq := &bceappblb.UpdateAppHTTPSListenerArgs{
|
updateAppHTTPSListenerReq := &bceappblb.UpdateAppHTTPSListenerArgs{
|
||||||
ClientToken: generateClientToken(),
|
ClientToken: generateClientToken(),
|
||||||
ListenerPort: uint16(cloudHttpsListenerPort),
|
ListenerPort: uint16(cloudHttpsListenerPort),
|
||||||
|
Scheduler: describeAppHTTPSListenersResp.ListenerList[0].Scheduler,
|
||||||
CertIds: []string{cloudCertId},
|
CertIds: []string{cloudCertId},
|
||||||
}
|
}
|
||||||
err := d.sdkClient.UpdateAppHTTPSListener(cloudLoadbalancerId, updateAppHTTPSListenerReq)
|
err := d.sdkClient.UpdateAppHTTPSListener(cloudLoadbalancerId, updateAppHTTPSListenerReq)
|
||||||
@ -283,6 +284,7 @@ func (d *DeployerProvider) updateHttpsListenerCertificate(ctx context.Context, c
|
|||||||
updateAppHTTPSListenerReq := &bceappblb.UpdateAppHTTPSListenerArgs{
|
updateAppHTTPSListenerReq := &bceappblb.UpdateAppHTTPSListenerArgs{
|
||||||
ClientToken: generateClientToken(),
|
ClientToken: generateClientToken(),
|
||||||
ListenerPort: uint16(cloudHttpsListenerPort),
|
ListenerPort: uint16(cloudHttpsListenerPort),
|
||||||
|
Scheduler: describeAppHTTPSListenersResp.ListenerList[0].Scheduler,
|
||||||
AdditionalCertDomains: sliceutil.Map(describeAppHTTPSListenersResp.ListenerList[0].AdditionalCertDomains, func(domain bceappblb.AdditionalCertDomainsModel) bceappblb.AdditionalCertDomainsModel {
|
AdditionalCertDomains: sliceutil.Map(describeAppHTTPSListenersResp.ListenerList[0].AdditionalCertDomains, func(domain bceappblb.AdditionalCertDomainsModel) bceappblb.AdditionalCertDomainsModel {
|
||||||
if domain.Host == d.config.Domain {
|
if domain.Host == d.config.Domain {
|
||||||
return bceappblb.AdditionalCertDomainsModel{
|
return bceappblb.AdditionalCertDomainsModel{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user