mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-18 03:39:43 +07:00
fix: dead loop if no dns upstream given
This commit is contained in:
@ -294,7 +294,6 @@ func NewControlPlane(
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("RoutingMatcherBuilder.BuildKernspace: %w", err)
|
||||
}
|
||||
|
||||
/// Dial mode.
|
||||
dialMode, err := consts.ParseDialMode(global.DialMode)
|
||||
if err != nil {
|
||||
@ -325,7 +324,6 @@ func NewControlPlane(
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
/// Dns controller.
|
||||
if plane.dnsController, err = NewDnsController(dnsUpstream, &DnsControllerOption{
|
||||
Log: log,
|
||||
|
Reference in New Issue
Block a user