lint fix: fix linter errors after migrating to v2

Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
This commit is contained in:
Gunjan Vyas
2025-05-10 14:27:35 +05:30
committed by Christophe Fergeau
parent 6fa6ae02a7
commit 31193c50af
16 changed files with 74 additions and 33 deletions

View File

@@ -17,7 +17,7 @@ type client struct {
func newClient(conn net.Conn, user string, key string) (*client, error) {
config, err := newConfig(user, key)
if err != nil {
return nil, fmt.Errorf("Error getting config for native Go SSH: %s", err)
return nil, fmt.Errorf("error getting config for native Go SSH: %s", err)
}
return &client{