Remove obsolete devMode option instance

This commit is contained in:
Daniel 2021-10-14 14:18:17 +02:00
parent b716f56eaf
commit 7e21e7c7d7
2 changed files with 2 additions and 6 deletions

View file

@ -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"

View file

@ -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"
@ -27,8 +25,6 @@ var (
module *modules.Module
restarting = abool.New()
devMode = config.Concurrent.GetAsBool(config.CfgDevModeKey, false)
disableShutdownEvent bool
)