From 4356a024a7c018206f26f253a0bcf0c7eb1e623d Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Mon, 12 Aug 2019 01:42:52 +0200 Subject: [PATCH] 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. --- plugins/lxc/lxc-multigraph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/lxc/lxc-multigraph b/plugins/lxc/lxc-multigraph index 0becc68e..70f7abad 100755 --- a/plugins/lxc/lxc-multigraph +++ b/plugins/lxc/lxc-multigraph @@ -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