mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugin lxc: clarify name for function "active_guests"
Previously a variable and a function used the same name. This was no problem, but it can cause confusion.
This commit is contained in:
parent
55b881878c
commit
4356a024a7
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ cgrouppath=${cgrouppath:-}
|
|||
|
||||
# --- FUNCTIONS
|
||||
|
||||
active_guests() {
|
||||
get_active_guests() {
|
||||
local excludes="$1"
|
||||
local guest_name
|
||||
for guest_name in $(lxc-ls)
|
||||
|
@ -180,7 +180,7 @@ title_case() {
|
|||
|
||||
# --- BASIC DEFINES
|
||||
|
||||
active_guests=$(active_guests "$exclude")
|
||||
active_guests=$(get_active_guests "$exclude")
|
||||
|
||||
# --- AUTOCONF
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue