Skip to content

Commit

Permalink
[Fix] Test func
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-sidelnikov committed Oct 2, 2024
1 parent bfd7065 commit 2337b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acceptance/openstack/evpn/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestConnectionLifecycle(t *testing.T) {
subnet, err := subnets.Get(clientNetV2, subnetId).Extract()
th.AssertNoErr(t, err)

gw := createEvpnGateway(t, err, subnet, vpcId, client)
gw := createEvpnGateway(t, subnet, vpcId, client)
customerGw := createEvpnCustomerGateway(t, client)

name := tools.RandomString("acc_evpn_connection_", 3)
Expand Down Expand Up @@ -132,7 +132,7 @@ func createEvpnCustomerGateway(t *testing.T, client *golangsdk.ServiceClient) *c
})
return gw
}
func createEvpnGateway(t *testing.T, err error, subnet *subnets.Subnet, vpcId string, client *golangsdk.ServiceClient) *gateway.Gateway {
func createEvpnGateway(t *testing.T, subnet *subnets.Subnet, vpcId string, client *golangsdk.ServiceClient) *gateway.Gateway {
clientNetV1, err := clients.NewNetworkV1Client()
th.AssertNoErr(t, err)

Expand Down

0 comments on commit 2337b99

Please sign in to comment.