This commit is contained in:
@@ -24,7 +24,6 @@ type Module struct {
|
||||
func New() *Module { return &Module{be: detect()} }
|
||||
|
||||
func (m *Module) ID() string { return ModuleID }
|
||||
func (m *Module) Name() string { return "Networking" }
|
||||
|
||||
// Permissions: read to inspect interfaces/routes/DNS; write to reconfigure them
|
||||
// (apply config, bring links up/down, confirm a pending change).
|
||||
|
||||
@@ -19,13 +19,6 @@ import (
|
||||
"github.com/danielgtaylor/huma/v2/humatest"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
if oscmd.RunHelperProcess() {
|
||||
return
|
||||
}
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
|
||||
type mockBackend struct {
|
||||
name string
|
||||
snapshotResult IfaceConfig
|
||||
|
||||
Reference in New Issue
Block a user