Skip to content

Commit

Permalink
Merge pull request hashicorp#31938 from coder-s-cat/main
Browse files Browse the repository at this point in the history
fix function name in comment
  • Loading branch information
ewbankkit authored Jun 14, 2023
2 parents 5575f0c + 48fcc73 commit 30af92b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
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

0 comments on commit 30af92b

Please sign in to comment.