From b78988ab01f933166dc373d41b88ed6baa74f8c4 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Fri, 26 Jan 2024 21:39:13 +0100 Subject: [PATCH] NOISSUE: fix bats tests --- modules/kogito-dynamic-resources/added/container-limits | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/kogito-dynamic-resources/added/container-limits b/modules/kogito-dynamic-resources/added/container-limits index 316cc17a5..f262ee7c4 100644 --- a/modules/kogito-dynamic-resources/added/container-limits +++ b/modules/kogito-dynamic-resources/added/container-limits @@ -121,17 +121,17 @@ min() { printf "%s\n" "$@" | sort -g | head -n1 } -local limit="$(core_limit)" +limit="$(core_limit)" if [ x$limit != x ]; then export CONTAINER_CORE_LIMIT="$limit" fi -local env_core_limit="$(min $CONTAINER_CORE_LIMIT $JAVA_CORE_LIMIT)" +env_core_limit="$(min $CONTAINER_CORE_LIMIT $JAVA_CORE_LIMIT)" if [ -n "$env_core_limit" ]; then export CORE_LIMIT="$env_core_limit" fi -local max_mem="$(container_memory)" +max_mem="$(container_memory)" if [ x$max_mem != x ]; then export CONTAINER_MAX_MEMORY="$max_mem" fi