small tweaks

This commit is contained in:
Conrad Ludgate
2024-09-18 14:37:18 +01:00
parent 8e7d2aab76
commit 4bc2686dee
4 changed files with 23 additions and 18 deletions

View File

@@ -309,7 +309,6 @@ impl NodeInfo {
#[cfg(any(test, feature = "testing"))]
ComputeCredentialKeys::Password(password) => self.config.password(password),
ComputeCredentialKeys::AuthKeys(auth_keys) => self.config.auth_keys(*auth_keys),
ComputeCredentialKeys::Jwt(_) => panic!("unsupported keys"),
ComputeCredentialKeys::None => &mut self.config,
};
}