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