Skip to content

Commit c8874b6

Browse files
committed
Fix up incorrect terminology (copy-paste bug).
DimensionDataResearch/terraform-provider-ddcloud#104
1 parent 3212168 commit c8874b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compute/ssl_certificate_chains.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type importSSLCertificateChain struct {
7171

7272
// Request body when deleting an SSL certificate chain.
7373
type deleteSSLCertificateChain struct {
74-
// The SSL certificate Id.
74+
// The SSL certificate chain Id.
7575
ID string `json:"id"`
7676
}
7777

@@ -118,6 +118,7 @@ func (client *Client) ListSSLCertificateChainsInNetworkDomain(networkDomainID st
118118
}
119119

120120
// GetSSLCertificateChain retrieves the SSL certificate chain with the specified Id.
121+
//
121122
// Returns nil if no SSL certificate chain is found with the specified Id.
122123
func (client *Client) GetSSLCertificateChain(id string) (pool *SSLCertificateChain, err error) {
123124
organizationID, err := client.getOrganizationID()
@@ -163,7 +164,7 @@ func (client *Client) GetSSLCertificateChain(id string) (pool *SSLCertificateCha
163164
}
164165

165166
// ImportSSLCertificateChain imports an SSL certificate chain into a network domain.
166-
func (client *Client) ImportSSLCertificateChain(networkDomainID string, name string, description string, certificateChain string) (certificateID string, err error) {
167+
func (client *Client) ImportSSLCertificateChain(networkDomainID string, name string, description string, certificateChain string) (certificateChainID string, err error) {
167168
organizationID, err := client.getOrganizationID()
168169
if err != nil {
169170
return "", err

0 commit comments

Comments
 (0)