mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-18 16:29:11 +07:00
fix(cmd/run.go): always check whether network online (#588)
(cherry picked from commit 00f1df6696
)
This commit is contained in:
parent
ef9690a652
commit
bcec026f27
@ -325,7 +325,7 @@ func newControlPlane(log *logrus.Logger, bpf interface{}, dnsCache map[string]*c
|
||||
}
|
||||
// Resolve subscriptions to nodes.
|
||||
resolvingfailed := false
|
||||
if !conf.Global.DisableWaitingNetwork && len(conf.Subscription) > 0 {
|
||||
if !conf.Global.DisableWaitingNetwork {
|
||||
epo := 5 * time.Second
|
||||
client := http.Client{
|
||||
Transport: &http.Transport{
|
||||
|
Loading…
Reference in New Issue
Block a user