fix: improved missing context message

This commit is contained in:
2023-01-24 10:48:53 +01:00
parent cdee6b00c4
commit c47aa49373
5 changed files with 42 additions and 8 deletions

View File

@ -37,7 +37,7 @@ func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.Conne
return nil, errors.Wrap(err, "ssh host connection is not valid")
}
if err := ctxPkg.HasDockerContext(ctxConnDetails.Host); err != nil {
if err := ctxPkg.HasDockerContext("", ctxConnDetails.Host); err != nil {
return nil, err
}