Skip to content

Commit

Permalink
fix(config): fix the warning about 1.0.0.1 not working
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Aug 31, 2023
1 parent d91dcc0 commit d454556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/network_probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (c *Config) ShouldWeUse1001(ctx context.Context, ppfmt pp.PP) bool {
ppfmt.Warningf(pp.EmojiGood, "1.0.0.1 appears to be working and will be used instead of 1.1.1.1")
c.Use1001 = true
} else {
ppfmt.Warningf(pp.EmojiGood, "1.0.0.1 appears to be blocked or hijacked as well; sticking to 1.1.1.1")
ppfmt.Warningf(pp.EmojiError, "1.0.0.1 is not working either---perhaps the network is down; sticking to 1.1.1.1")

Check warning on line 54 in internal/config/network_probe.go

View check run for this annotation

Codecov / codecov/patch

internal/config/network_probe.go#L54

Added line #L54 was not covered by tests
}
}
return true
Expand Down

0 comments on commit d454556

Please sign in to comment.