Skip to content

Commit bea270f

Browse files
committed
machines/aws: fix subnet filter comment
Fixes the comment to correctly identify that the legacy terraform subnet filter does NOT include the 'subnet' string.
1 parent e245acb commit bea270f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/asset/machines/aws/machines.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ func provider(in *machineProviderInput) (*machineapi.AWSMachineProviderConfig, e
261261
{
262262
Name: "tag:Name",
263263
Values: []string{
264-
fmt.Sprintf("%s-%s-%s", in.clusterID, visibility, in.zone),
265-
fmt.Sprintf("%s-subnet-%s-%s", in.clusterID, visibility, in.zone), // legacy Terraform config, remove with Terraform
264+
fmt.Sprintf("%s-%s-%s", in.clusterID, visibility, in.zone), // legacy Terraform config, remove with Terraform
265+
fmt.Sprintf("%s-subnet-%s-%s", in.clusterID, visibility, in.zone),
266266
},
267267
},
268268
}

0 commit comments

Comments
 (0)