1
0
Fork 0
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:
Lars Kruse 2019-08-12 01:42:52 +02:00
parent 55b881878c
commit 4356a024a7

View file

@ -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