diff --git a/internal/sftp/ssh.go b/internal/sftp/ssh.go index 98f8b7363..33c9b9b66 100644 --- a/internal/sftp/ssh.go +++ b/internal/sftp/ssh.go @@ -18,7 +18,7 @@ import ( // returns a client connection. // // Only private key authentication is currently supported, with or without a -// passphrase.SSH: %v", +// passphrase. func sshConnect(ctx context.Context, logger logr.Logger, cfg Config) (*ssh.Client, error) { // Load private key for authentication. keyBytes, err := os.ReadFile(filepath.Clean(cfg.PrivateKey.Path)) // #nosec G304 -- File data is validated below