From 0cc083e876ef2c0860dea5d834e8f81b8de906f8 Mon Sep 17 00:00:00 2001 From: thediveo Date: Mon, 24 Jun 2024 21:10:37 +0200 Subject: [PATCH] fix: test: force remove example network first Signed-off-by: thediveo --- example_session_network_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/example_session_network_test.go b/example_session_network_test.go index c341c49..45590a0 100644 --- a/example_session_network_test.go +++ b/example_session_network_test.go @@ -77,6 +77,7 @@ func ExampleSession_CreateNetwork() { } defer sess.Close(ctx) + _ = sess.Client().NetworkRemove(ctx, "my-notwork") netw, err := sess.CreateNetwork(ctx, "my-notwork", net.WithInternal(), net.WithIPAM(ipam.WithPool("0.0.1.0/24")))