Rename Context
This commit is contained in:
parent
b5580f9503
commit
919dcebc45
4 changed files with 9 additions and 9 deletions
|
|
@ -37,7 +37,7 @@ type LoginOptions struct {
|
|||
Executable string
|
||||
GitProtocol string
|
||||
|
||||
sshContext ssh.SshContext
|
||||
sshContext ssh.Context
|
||||
}
|
||||
|
||||
func Login(opts *LoginOptions) error {
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ func TestLogin_ssh(t *testing.T) {
|
|||
HTTPClient: &http.Client{Transport: &tr},
|
||||
Hostname: "example.com",
|
||||
Interactive: true,
|
||||
sshContext: ssh.SshContext{
|
||||
sshContext: ssh.Context{
|
||||
ConfigDir: dir,
|
||||
KeygenExe: "ssh-keygen",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ func (a *App) SSH(ctx context.Context, sshArgs []string, opts sshOptions) (err e
|
|||
args = opts.scpArgs
|
||||
}
|
||||
|
||||
sshContext := ssh.SshContext{}
|
||||
sshContext := ssh.Context{}
|
||||
startSSHOptions := liveshare.StartSSHServerOptions{}
|
||||
|
||||
if shouldGenerateSSHKeys(args, opts) && sshContext.HasKeygen() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue