Remove obsolete devMode option instance
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
// Configuration Keys.
|
||||
var (
|
||||
// CfgDevModeKey is originally defined in portbase/config.
|
||||
// CfgDevModeKey was previously defined here.
|
||||
CfgDevModeKey = config.CfgDevModeKey
|
||||
|
||||
CfgNetworkServiceKey = "core/networkService"
|
||||
|
||||
@@ -5,8 +5,6 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/safing/portbase/config"
|
||||
|
||||
"github.com/safing/portbase/modules"
|
||||
"github.com/safing/portbase/modules/subsystems"
|
||||
"github.com/tevino/abool"
|
||||
@@ -26,9 +24,7 @@ const (
|
||||
var (
|
||||
module *modules.Module
|
||||
|
||||
restarting = abool.New()
|
||||
devMode = config.Concurrent.GetAsBool(config.CfgDevModeKey, false)
|
||||
|
||||
restarting = abool.New()
|
||||
disableShutdownEvent bool
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user