Files
DockMV/test/errors_test.go
T
2026-08-11 09:00:01 +02:00

15 lines
272 B
Go

//go:build e2e
package e2e
import (
"errors"
"github.com/arescom/docker-migrate/internal/sshx"
)
// asHostKeyError unwraps err into a *sshx.HostKeyError if it is one.
func asHostKeyError(err error, target **sshx.HostKeyError) bool {
return errors.As(err, target)
}