Skip to content

Commit 14ed6be

Browse files
committed
don't fail on cleaning orphaned namespaces
Signed-off-by: Ashraf Fouda <[email protected]>
1 parent b714be3 commit 14ed6be

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

cmds/modules/networkd/main.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ func action(cli *cli.Context) error {
7272
return errors.Wrap(err, "failed to cleanupUnusedLinks")
7373
}
7474

75-
if err := network.CleanupOrphanedNamespaces(); err != nil {
76-
return errors.Wrap(err, "failed to CleanupOrphanedNamespaces")
77-
}
75+
network.CleanupOrphanedNamespaces()
7876

7977
if err := bootstrap.DefaultBridgeValid(); err != nil {
8078
return errors.Wrap(err, "invalid setup")

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20250901133903-8d32a808fb79
1818
github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.17.0
1919
github.com/threefoldtech/zbus v1.0.1
20-
github.com/threefoldtech/zosbase v0.1.11-0.20250928144901-0407ed64b734
20+
github.com/threefoldtech/zosbase v0.1.11-0.20250929141046-c73d50f36015
2121
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa
2222
gopkg.in/yaml.v2 v2.4.0
2323
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.17.0 h1:qlc7VPBbtEAL82QXNeT
562562
github.com/threefoldtech/tfgrid-sdk-go/rmb-sdk-go v0.17.0/go.mod h1:3+lkMhIwj1pmgcDSVKNDsbiF4DJE5ewWkWE6na5iEj4=
563563
github.com/threefoldtech/zbus v1.0.1 h1:3KaEpyOiDYAw+lrAyoQUGIvY9BcjVRXlQ1beBRqhRNk=
564564
github.com/threefoldtech/zbus v1.0.1/go.mod h1:E/v/xEvG/l6z/Oj0aDkuSUXFm/1RVJkhKBwDTAIdsHo=
565-
github.com/threefoldtech/zosbase v0.1.11-0.20250928144901-0407ed64b734 h1:wmBnJo8jAYU9Z6K3kitjvUEP7kcJad12OLPCHrZegDw=
566-
github.com/threefoldtech/zosbase v0.1.11-0.20250928144901-0407ed64b734/go.mod h1:Gz2af8Y35gqplt5dTIOqoRUpDI1mNal1hKzD2BoqWpU=
565+
github.com/threefoldtech/zosbase v0.1.11-0.20250929141046-c73d50f36015 h1:86c+TASyH7ciwYhfdEKcU8VBYUwbjFBFWl40ejWLxUE=
566+
github.com/threefoldtech/zosbase v0.1.11-0.20250929141046-c73d50f36015/go.mod h1:Gz2af8Y35gqplt5dTIOqoRUpDI1mNal1hKzD2BoqWpU=
567567
github.com/tinylib/msgp v1.1.5 h1:2gXmtWueD2HefZHQe1QOy9HVzmFrLOVvsXwXBQ0ayy0=
568568
github.com/tinylib/msgp v1.1.5/go.mod h1:eQsjooMTnV42mHu917E26IogZ2930nFyBQdofk10Udg=
569569
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=

0 commit comments

Comments
 (0)