@@ -27,7 +27,7 @@ func containsNetwork(nws []types.NetworkResource, networkID string) bool {
2727// first network's ID as name.
2828//
2929// After successful creation, properties of all three networks is returned
30- func createAmbiguousNetworks (t * testing.T , ctx context. Context , client dclient.APIClient ) (string , string , string ) { // nolint: golint
30+ func createAmbiguousNetworks (ctx context. Context , t * testing.T , client dclient.APIClient ) (string , string , string ) {
3131 testNet := network .CreateNoError (ctx , t , client , "testNet" )
3232 idPrefixNet := network .CreateNoError (ctx , t , client , testNet [:12 ])
3333 fullIDNet := network .CreateNoError (ctx , t , client , testNet )
@@ -70,7 +70,7 @@ func TestDockerNetworkDeletePreferID(t *testing.T) {
7070 defer setupTest (t )()
7171 client := testEnv .APIClient ()
7272 ctx := context .Background ()
73- testNet , idPrefixNet , fullIDNet := createAmbiguousNetworks (t , ctx , client )
73+ testNet , idPrefixNet , fullIDNet := createAmbiguousNetworks (ctx , t , client )
7474
7575 // Delete the network using a prefix of the first network's ID as name.
7676 // This should the network name with the id-prefix, not the original network.
0 commit comments