Initial push
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user