Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix function name in comment #31938

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/service/apigatewayv2/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func WaitVPCLinkAvailable(ctx context.Context, conn *apigatewayv2.ApiGatewayV2,
return nil, err
}

// WaitVPCLinkAvailable waits for a VPC Link to return Deleted
// WaitVPCLinkDeleted waits for a VPC Link to return Deleted
func WaitVPCLinkDeleted(ctx context.Context, conn *apigatewayv2.ApiGatewayV2, vpcLinkId string) (*apigatewayv2.GetVpcLinkOutput, error) {
stateConf := &retry.StateChangeConf{
Pending: []string{apigatewayv2.VpcLinkStatusDeleting},
Expand Down
2 changes: 1 addition & 1 deletion internal/service/ec2/vpc_dhcp_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func (m *dhcpOptionsMap) dhcpConfigurationsToResourceData(dhcpConfigurations []*
return nil
}

// resourceDataToNewDhcpConfigurations returns a list of AWS API DHCP configurations from Terraform ResourceData.
// resourceDataToDHCPConfigurations returns a list of AWS API DHCP configurations from Terraform ResourceData.
func (m *dhcpOptionsMap) resourceDataToDHCPConfigurations(d *schema.ResourceData) ([]*ec2.NewDhcpConfiguration, error) {
var output []*ec2.NewDhcpConfiguration

Expand Down
2 changes: 1 addition & 1 deletion internal/service/ec2/vpc_network_acl_association.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func networkACLAssociationDelete(ctx context.Context, conn *ec2.EC2, association
return nil
}

// networkACLAssociationDelete deletes the specified NACL associations for the specified subnets.
// networkACLAssociationsDelete deletes the specified NACL associations for the specified subnets.
// Each subnet's current association is replaced by an association with the specified VPC's default NACL.
func networkACLAssociationsDelete(ctx context.Context, conn *ec2.EC2, vpcID string, subnetIDs []interface{}) error {
defaultNACL, err := FindVPCDefaultNetworkACL(ctx, conn, vpcID)
Expand Down
2 changes: 1 addition & 1 deletion internal/service/mq/forge.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/beevik/etree"
)

// cannonicalXML reads XML in a string and re-writes it canonically, used for
// CanonicalXML reads XML in a string and re-writes it canonically, used for
// comparing XML for logical equivalency
func CanonicalXML(s string) (string, error) {
doc := etree.NewDocument()
Expand Down
2 changes: 1 addition & 1 deletion internal/service/networkmanager/connect_peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ func waitConnectPeerDeleted(ctx context.Context, conn *networkmanager.NetworkMan
return nil, err
}

// validationExceptionMessageContains returns true if the error matches all these conditions:
// validationExceptionMessage_Contains returns true if the error matches all these conditions:
// - err is of type networkmanager.ValidationException
// - ValidationException.Reason equals reason
// - ValidationException.Message_ contains message
Expand Down
2 changes: 1 addition & 1 deletion internal/service/opensearch/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ func EBSVolumeTypePermitsIopsInput(volumeType string) bool {
return false
}

// EBSVolumeTypePermitsIopsInput returns true if the volume type supports the Throughput input
// EBSVolumeTypePermitsThroughputInput returns true if the volume type supports the Throughput input
//
// This check prevents a ValidationException when updating EBS volume types from a value
// that supports Throughput (ex. gp3) to one that doesn't (ex. gp2).
Expand Down