Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Typo in http.go #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func (s *Service) get(ctx context.Context,
case errors.Is(err, context.DeadlineExceeded):
// We don't consider context deadline exceeded to be a potential connection issue, as the user selected the deadline.
case strings.HasSuffix(callURL.String(), "/node/syncing"):
// Special case; if we have called the syncing endpoint and it failed then we don't check the connectino status, as
// Special case; if we have called the syncing endpoint and it failed then we don't check the connection status, as
// that calls the syncing endpoint itself and so we find ourselves in an endless loop.
default:
// We consider other errors to be potential connection issues.
Expand Down