diff --git a/pkg/cloud/aws/actuators/machine/actuator.go b/pkg/cloud/aws/actuators/machine/actuator.go index 58e7b2f345..ac061d3828 100644 --- a/pkg/cloud/aws/actuators/machine/actuator.go +++ b/pkg/cloud/aws/actuators/machine/actuator.go @@ -254,8 +254,8 @@ func getSubnetIDs(subnet providerconfigv1.AWSResourceReference, availabilityZone } describeSubnetResult, err := client.DescribeSubnets(&describeSubnetRequest) if err != nil { - glog.Errorf("error describing security groups: %v", err) - return nil, fmt.Errorf("error describing security groups: %v", err) + glog.Errorf("error describing subnetes: %v", err) + return nil, fmt.Errorf("error describing subnets: %v", err) } for _, n := range describeSubnetResult.Subnets { subnetID := *n.SubnetId