Skip to content

Commit

Permalink
pinned clarifying comment to a version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
lykkin committed Dec 28, 2021
1 parent cb9bfa7 commit 1e55584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fleet/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func NewErrorResp(err error) errResp {
}

// Check if we have encountered a connectivity error
// Predicate taken from https://github.com/golang/go/blob/master/src/net/dial_test.go#L810
// Predicate taken from https://github.com/golang/go/blob/go1.17.5/src/net/dial_test.go#L798
if strings.Contains(err.Error(), "connection refused") {
return errResp{
http.StatusServiceUnavailable,
Expand Down

0 comments on commit 1e55584

Please sign in to comment.