Bump to go1.22 (#594)

This commit is contained in:
Itxaka
2024-07-11 14:06:55 +02:00
committed by GitHub
parent 884d2dbe08
commit 95e823aa15
7 changed files with 87 additions and 337 deletions

View File

@@ -84,7 +84,7 @@ func sshServer(listenAdddr, password string) {
}
})
pterm.Info.Println(ssh.ListenAndServe(listenAdddr, nil, ssh.PasswordAuth(func(ctx ssh.Context, pass string) bool {
pterm.Info.Println(ssh.ListenAndServe(listenAdddr, nil, ssh.PasswordAuth(func(_ ssh.Context, pass string) bool {
return pass == password
}),
))