teleport/integrations
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
..
access Hosted plugin manager prerequisites (#23922) 2023-04-11 15:24:25 +00:00
kube-agent-updater Batched Dependabot updates (#25784) 2023-05-09 16:53:12 +00:00
lib fix: use errors.Is for all EOF comparisons (#26012) 2023-05-10 19:27:39 +00:00
operator Remove duplicate imports (#24736) 2023-04-18 19:08:26 +00:00
Makefile Vendor slack plugin and supporting libraries (#23045) 2023-03-22 19:39:07 +00:00