mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-11-25 19:47:02 +00:00
chore: code cleanup
This commit is contained in:
parent
ec5debb582
commit
167873f064
1 changed files with 2 additions and 2 deletions
|
|
@ -94,6 +94,7 @@ function wg_interfaces {
|
||||||
_wg_ifaces+=("$iface")
|
_wg_ifaces+=("$iface")
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
declare -A _CACHE_PEERS
|
declare -A _CACHE_PEERS
|
||||||
function wg_peers {
|
function wg_peers {
|
||||||
local -n _wg_peers=$1
|
local -n _wg_peers=$1
|
||||||
|
|
@ -165,8 +166,7 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
function peer_traffic {
|
function peer_traffic {
|
||||||
iface="$1"
|
local iface="$1"
|
||||||
|
|
||||||
|
|
||||||
echo "multigraph wireguard_peertraffic_$iface"
|
echo "multigraph wireguard_peertraffic_$iface"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue