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.
|
// Grouped interception modules that can be paused/resumed together.
|
||||||
instance.serviceGroupInterception = mgr.NewGroupModule("Interception Group",
|
instance.serviceGroupInterception = mgr.NewGroupModule("Interception Group",
|
||||||
instance.interception,
|
instance.interception,
|
||||||
|
instance.dnsmonitor,
|
||||||
// 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.compat)
|
instance.compat)
|
||||||
|
|
||||||
// Add all modules to instance group.
|
// Add all modules to instance group.
|
||||||
@@ -357,7 +353,6 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx
|
|||||||
// instance.dnsmonitor,
|
// instance.dnsmonitor,
|
||||||
// instance.compat
|
// instance.compat
|
||||||
instance.serviceGroupInterception,
|
instance.serviceGroupInterception,
|
||||||
instance.dnsmonitor, // TODO: Remove when re-added to serviceGroupInterception group.
|
|
||||||
|
|
||||||
instance.status,
|
instance.status,
|
||||||
instance.broadcasts,
|
instance.broadcasts,
|
||||||
|
|||||||
Reference in New Issue
Block a user