Skip to content

Commit

Permalink
fix(containers): update doc descriptions with correct wording (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jan 10, 2025
1 parent 1be16fa commit 24fe89d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/container/v1beta1/container_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2468,7 +2468,7 @@ func (s *API) DeleteCron(req *DeleteCronRequest, opts ...scw.RequestOption) (*Cr
return &resp, nil
}

// ListDomains: List all domain name bindings in a specified region.
// ListDomains: List all custom domains in a specified region.
func (s *API) ListDomains(req *ListDomainsRequest, opts ...scw.RequestOption) (*ListDomainsResponse, error) {
var err error

Expand Down Expand Up @@ -2507,7 +2507,7 @@ func (s *API) ListDomains(req *ListDomainsRequest, opts ...scw.RequestOption) (*
return &resp, nil
}

// GetDomain: Get a domain name binding for the container with the specified ID.
// GetDomain: Get a custom domain for the container with the specified ID.
func (s *API) GetDomain(req *GetDomainRequest, opts ...scw.RequestOption) (*Domain, error) {
var err error

Expand Down Expand Up @@ -2538,7 +2538,7 @@ func (s *API) GetDomain(req *GetDomainRequest, opts ...scw.RequestOption) (*Doma
return &resp, nil
}

// CreateDomain: Create a domain name binding for the container with the specified ID.
// CreateDomain: Create a custom domain for the container with the specified ID.
func (s *API) CreateDomain(req *CreateDomainRequest, opts ...scw.RequestOption) (*Domain, error) {
var err error

Expand Down Expand Up @@ -2570,7 +2570,7 @@ func (s *API) CreateDomain(req *CreateDomainRequest, opts ...scw.RequestOption)
return &resp, nil
}

// DeleteDomain: Delete the domain name binding with the specific ID.
// DeleteDomain: Delete the custom domain with the specific ID.
func (s *API) DeleteDomain(req *DeleteDomainRequest, opts ...scw.RequestOption) (*Domain, error) {
var err error

Expand Down

0 comments on commit 24fe89d

Please sign in to comment.