fix(instance): re-add dnsmonitor to serviceGroupInterception module
This commit is contained in:
@@ -317,11 +317,7 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx
|
||||
// Grouped interception modules that can be paused/resumed together.
|
||||
instance.serviceGroupInterception = mgr.NewGroupModule("Interception Group",
|
||||
instance.interception,
|
||||
|
||||
// TODO: The dnsmonitor is currently not part of this group, as it has inconsistent issue when stopping.
|
||||
// Fix chars-issue of this module and re-add it here.
|
||||
//instance.dnsmonitor,
|
||||
|
||||
instance.dnsmonitor,
|
||||
instance.compat)
|
||||
|
||||
// Add all modules to instance group.
|
||||
@@ -357,7 +353,6 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx
|
||||
// instance.dnsmonitor,
|
||||
// instance.compat
|
||||
instance.serviceGroupInterception,
|
||||
instance.dnsmonitor, // TODO: Remove when re-added to serviceGroupInterception group.
|
||||
|
||||
instance.status,
|
||||
instance.broadcasts,
|
||||
|
||||
Reference in New Issue
Block a user