mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 16:45:04 +02:00
cleanup(generic-snmp): unused function removed
This commit is contained in:
parent
bc64e1e2ae
commit
99c4783b60
@ -93,19 +93,6 @@ impl<'a> Parser<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
fn join_str_expr(prefix: &str, v: &ExprResult) -> Vec<String> {
|
||||
match v {
|
||||
ExprResult::StrVector(v) => {
|
||||
let mut result = vec![];
|
||||
for item in v {
|
||||
result.push(format!("{}{}", prefix, item));
|
||||
}
|
||||
result
|
||||
}
|
||||
_ => panic!("Expected a string vector"),
|
||||
}
|
||||
}
|
||||
|
||||
mod Test {
|
||||
use super::*;
|
||||
use log::info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user