@@ -676,7 +676,6 @@ func TestReconcileSubnets(t *testing.T) {
676
676
AvailabilityZone : "us-east-1a" ,
677
677
CidrBlock : "10.0.10.0/24" ,
678
678
IsPublic : true ,
679
- Tags : infrav1.Tags {},
680
679
},
681
680
},
682
681
expect : func (m * mocks.MockEC2APIMockRecorder ) {
@@ -782,15 +781,13 @@ func TestReconcileSubnets(t *testing.T) {
782
781
AvailabilityZone : "us-east-1a" ,
783
782
CidrBlock : "10.0.10.0/24" ,
784
783
IsPublic : true ,
785
- Tags : infrav1.Tags {},
786
784
},
787
785
{
788
786
ID : "subnet-2" ,
789
787
ResourceID : "subnet-2" ,
790
788
AvailabilityZone : "us-east-1b" ,
791
789
CidrBlock : "10.0.11.0/24" ,
792
790
IsPublic : true ,
793
- Tags : infrav1.Tags {},
794
791
},
795
792
},
796
793
expect : func (m * mocks.MockEC2APIMockRecorder ) {
@@ -4144,10 +4141,7 @@ func TestDiscoverSubnets(t *testing.T) {
4144
4141
CidrBlock : "10.0.10.0/24" ,
4145
4142
IsPublic : true ,
4146
4143
RouteTableID : aws .String ("rtb-1" ),
4147
- Tags : infrav1.Tags {
4148
- "Name" : "provided-subnet-public" ,
4149
- },
4150
- ZoneType : ptr.To [infrav1.ZoneType ]("availability-zone" ),
4144
+ ZoneType : ptr.To [infrav1.ZoneType ]("availability-zone" ),
4151
4145
},
4152
4146
{
4153
4147
ID : "subnet-2" ,
@@ -4156,10 +4150,7 @@ func TestDiscoverSubnets(t *testing.T) {
4156
4150
CidrBlock : "10.0.11.0/24" ,
4157
4151
IsPublic : false ,
4158
4152
RouteTableID : aws .String ("rtb-2" ),
4159
- Tags : infrav1.Tags {
4160
- "Name" : "provided-subnet-private" ,
4161
- },
4162
- ZoneType : ptr.To [infrav1.ZoneType ]("availability-zone" ),
4153
+ ZoneType : ptr.To [infrav1.ZoneType ]("availability-zone" ),
4163
4154
},
4164
4155
},
4165
4156
},
0 commit comments