From ee92380c35022263b2230c70611256ec6fd05763 Mon Sep 17 00:00:00 2001 From: Robin Kluth Date: Tue, 12 Mar 2024 19:21:31 +0100 Subject: [PATCH] Potential not skipping skipped container in a group --- src/include/ABHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/ABHelper.php b/src/include/ABHelper.php index a53aa79..186cb9b 100644 --- a/src/include/ABHelper.php +++ b/src/include/ABHelper.php @@ -730,7 +730,7 @@ public static function resolveContainer($container, $reverse = false) { self::setCurrentContainerName($container); $groupMembers = $abSettings->getContainerGroups($container['Name']); self::backupLog("Reached a group: " . $container['Name'], self::LOGLEVEL_DEBUG); - $sortedGroupContainers = self::sortContainers($dockerContainers, $abSettings->containerGroupOrder[$container['Name']], $reverse, false, $groupMembers); + $sortedGroupContainers = self::sortContainers($dockerContainers, $abSettings->containerGroupOrder[$container['Name']], $reverse, true, $groupMembers); self::backupLog("Containers in this group: " . implode(', ', array_column($sortedGroupContainers, 'Name')), self::LOGLEVEL_DEBUG); return $sortedGroupContainers; }