mirror of
https://codeberg.org/icewind/wifi-prometheus-exporter.git
synced 2026-06-03 08:34:25 +02:00
spelling
This commit is contained in:
parent
d23bc84910
commit
5ed709f8a2
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ impl WifiLister {
|
|||
addr: A,
|
||||
user: &str,
|
||||
key: &str,
|
||||
pubkey: &str,
|
||||
pub_key: &str,
|
||||
interfaces: &[String],
|
||||
) -> Result<Self, Error> {
|
||||
debug!(address = ?addr, "connecting to ssh");
|
||||
|
|
@ -24,7 +24,7 @@ impl WifiLister {
|
|||
session.set_tcp_stream(tcp);
|
||||
session.handshake().map_err(Error::SshSession)?;
|
||||
session
|
||||
.userauth_pubkey_memory(user, Some(pubkey), key, None)
|
||||
.userauth_pubkey_memory(user, Some(pub_key), key, None)
|
||||
.map_err(Error::SshAuth)?;
|
||||
|
||||
let commands: Vec<String> = interfaces
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue