Skip to content

Commit 4dac4c6

Browse files
committed
fix
1 parent 51ad779 commit 4dac4c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/vpcmodel/vpcConfig.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ func (c *VPCConfig) getTGWRouterForMultiVPC() (tgw RoutingResource, err error) {
142142
for _, router := range c.RoutingResources {
143143
if router.Kind() == resourceTypeTGW {
144144
if tgw != nil {
145-
return nil, fmt.Errorf("Only one TGW is support in a given MultipleVPCsConfig")
145+
return nil, fmt.Errorf("only one TGW is support in a given MultipleVPCsConfig")
146146
}
147147
tgw = router
148148
}
149149
}
150150
if tgw == nil {
151-
return nil, fmt.Errorf("No TGW found in a MultipleVPCsConfig")
151+
return nil, fmt.Errorf("no TGW found in a MultipleVPCsConfig")
152152
}
153153
return tgw, nil
154154
}

0 commit comments

Comments
 (0)