teleport/integrations/lib
Nic Klaassen 2568bff9db
fix: use errors.Is for all EOF comparisons (#26012)
This commit updates all `err == io.EOF` comparisons to use
`errors.Is(err, io.EOF)`. This is necessary when the error may have been
wrapped and fixes at least one current breakage (in `tsh request ls`).

`golang.org/x/tools/refactor/eg` was very handy for this, I used the
following template:

```go
package teleport
import (
	"errors"
	"io"
)
func before(err error) bool { return err == io.EOF }
func after(err error) bool  { return errors.Is(err, io.EOF) }
```
2023-05-10 19:27:39 +00:00
..
backoff Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
credentials Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
logger Add ability to enable trace logging level (#25800) 2023-05-08 17:40:16 +00:00
opsgenie Add initial opsgenie client (#23707) 2023-04-19 15:56:24 +00:00
plugindata Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
stringset Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
tar fix: use errors.Is for all EOF comparisons (#26012) 2023-05-10 19:27:39 +00:00
tctl fix: use errors.Is for all EOF comparisons (#26012) 2023-05-10 19:27:39 +00:00
testing/integration fix: use errors.Is for all EOF comparisons (#26012) 2023-05-10 19:27:39 +00:00
tsh Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
watcherjob Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
addr.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
addr_test.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
bail.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
config.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
download.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
email.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
errors.go fix: use errors.Is for all EOF comparisons (#26012) 2023-05-10 19:27:39 +00:00
escape.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
escape_test.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
http.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
process.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
runner.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
sha256.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
signals.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00
versions.go Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00