Skip to content

Commit

Permalink
fix: test: force remove example network first
Browse files Browse the repository at this point in the history
Signed-off-by: thediveo <[email protected]>
  • Loading branch information
thediveo committed Jun 24, 2024
1 parent e78704f commit 0cc083e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example_session_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down

0 comments on commit 0cc083e

Please sign in to comment.