Skip to content

Commit

Permalink
fix(cmd/run.go): always check whether network online (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarksonHon authored Aug 7, 2024
1 parent 4717fa2 commit 00f1df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 00f1df6

Please sign in to comment.