Merge pull request #145 from safing/fix/notifications
Update to portbase/notification changes
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
|||||||
"github.com/safing/portbase/info"
|
"github.com/safing/portbase/info"
|
||||||
"github.com/safing/portbase/modules"
|
"github.com/safing/portbase/modules"
|
||||||
"github.com/safing/portbase/modules/subsystems"
|
"github.com/safing/portbase/modules/subsystems"
|
||||||
"github.com/safing/portbase/notifications"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Default Values (changeable for testing)
|
// Default Values (changeable for testing)
|
||||||
@@ -67,9 +66,6 @@ func globalPrep() error {
|
|||||||
// set api listen address
|
// set api listen address
|
||||||
api.SetDefaultAPIListenAddress(DefaultAPIListenAddress)
|
api.SetDefaultAPIListenAddress(DefaultAPIListenAddress)
|
||||||
|
|
||||||
// set notification persistence
|
|
||||||
notifications.SetPersistenceBasePath("core:notifications")
|
|
||||||
|
|
||||||
// set subsystem status dir
|
// set subsystem status dir
|
||||||
subsystems.SetDatabaseKeySpace("core:status/subsystems")
|
subsystems.SetDatabaseKeySpace("core:status/subsystems")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user