Skip to content

Commit 3b6c744

Browse files
docs: correction of description (scaleway#2493)
Co-authored-by: Laure-di <[email protected]>
1 parent 294beee commit 3b6c744

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

api/function/v1beta1/function_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1489,7 +1489,7 @@ type GetFunctionDownloadURLRequest struct {
14891489
// Region: region to target. If none is passed will use default region from the config.
14901490
Region scw.Region `json:"-"`
14911491

1492-
// FunctionID: UUID of the function to get the the download URL for.
1492+
// FunctionID: UUID of the function to get the download URL for.
14931493
FunctionID string `json:"-"`
14941494
}
14951495

api/iam/v1alpha1/iam_sdk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3319,7 +3319,7 @@ func (s *API) SetGroupMembers(req *SetGroupMembersRequest, opts ...scw.RequestOp
33193319
return &resp, nil
33203320
}
33213321

3322-
// AddGroupMember: Add a user or an application to a group. You can specify a `user_id` and and `application_id` in the body of your request. Note that you can only add one of each per request.
3322+
// AddGroupMember: Add a user or an application to a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only add one of each per request.
33233323
func (s *API) AddGroupMember(req *AddGroupMemberRequest, opts ...scw.RequestOption) (*Group, error) {
33243324
var err error
33253325

@@ -3373,7 +3373,7 @@ func (s *API) AddGroupMembers(req *AddGroupMembersRequest, opts ...scw.RequestOp
33733373
return &resp, nil
33743374
}
33753375

3376-
// RemoveGroupMember: Remove a user or an application from a group. You can specify a `user_id` and and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding.
3376+
// RemoveGroupMember: Remove a user or an application from a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding.
33773377
func (s *API) RemoveGroupMember(req *RemoveGroupMemberRequest, opts ...scw.RequestOption) (*Group, error) {
33783378
var err error
33793379

api/vpc/v2/vpc_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ type ListVPCsRequest struct {
858858
// Name: name to filter for. Only VPCs with names containing this string will be returned.
859859
Name *string `json:"-"`
860860

861-
// Tags: tags to filter for. Only VPCs with one more more matching tags will be returned.
861+
// Tags: tags to filter for. Only VPCs with one or more matching tags will be returned.
862862
Tags []string `json:"-"`
863863

864864
// OrganizationID: organization ID to filter for. Only VPCs belonging to this Organization will be returned.

api/vpcgw/v1/vpcgw_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ type CreateGatewayNetworkRequest struct {
896896
// Precisely one of DHCPID, DHCP, Address, IpamConfig must be set.
897897
DHCP *CreateDHCPRequest `json:"dhcp,omitempty"`
898898

899-
// Address: static IP address in CIDR format to to use without DHCP.
899+
// Address: static IP address in CIDR format to use without DHCP.
900900
// Precisely one of DHCPID, DHCP, Address, IpamConfig must be set.
901901
Address *scw.IPNet `json:"address,omitempty"`
902902

api/webhosting/v1/webhosting_sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2153,7 +2153,7 @@ type ResourceSummary struct {
21532153
// FtpAccountsCount: total number of active FTP accounts in the Web Hosting plan.
21542154
FtpAccountsCount uint32 `json:"ftp_accounts_count"`
21552155

2156-
// WebsitesCount: total number of active domains in the the Web Hosting plan.
2156+
// WebsitesCount: total number of active domains in the Web Hosting plan.
21572157
WebsitesCount uint32 `json:"websites_count"`
21582158
}
21592159

0 commit comments

Comments
 (0)