Replace dataroot module with BinDir and DataDir on instance, adapt modules
This commit is contained in:
@@ -160,6 +160,7 @@ func New(instance instance) (*Firewall, error) {
|
||||
}
|
||||
|
||||
type instance interface {
|
||||
BinDir() string
|
||||
Config() *config.Config
|
||||
BinaryUpdates() *updates.Updater
|
||||
Profile() *profile.ProfileModule
|
||||
|
||||
Reference in New Issue
Block a user