mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 21:25:01 +07:00
fix(cmd/run.go): always check whether network online (#588)
This commit is contained in:
parent
4717fa2cdc
commit
00f1df6696
@ -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