This is an automated email from the ASF dual-hosted git repository.
ricardozanini pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
The following commit(s) were added to refs/heads/main by this push:
new 34fb8811 NOISSUE: fix bats tests (#1738)
34fb8811 is described below
commit 34fb88119c7b8bff50e44e5b5c114131fdab8c72
Author: Roberto Oliveira <[email protected]>
AuthorDate: Mon Jan 29 16:15:15 2024 +0100
NOISSUE: fix bats tests (#1738)
---
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 316cc17a..f262ee7c 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]