From ad9212c66db2261161af0a15a07a39f53bf6a662 Mon Sep 17 00:00:00 2001 From: Benjamin Pelletier Date: Sun, 5 Nov 2023 20:42:27 +0000 Subject: [PATCH] Fix shell lint --- monitoring/uss_qualifier/make_artifacts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/uss_qualifier/make_artifacts.sh b/monitoring/uss_qualifier/make_artifacts.sh index 6e73323973..14f08c78d3 100755 --- a/monitoring/uss_qualifier/make_artifacts.sh +++ b/monitoring/uss_qualifier/make_artifacts.sh @@ -2,7 +2,7 @@ set -eo pipefail -if [[ $# < 2 ]]; then +if [[ $# -lt 2 ]]; then echo "Usage: $0 " echo "Generates artifacts according to the specified configuration(s) using the specified report(s)" echo ": Location of the configuration file." @@ -39,7 +39,7 @@ CACHE_DIR="monitoring/uss_qualifier/.templates_cache" mkdir -p "$CACHE_DIR" # shellcheck disable=SC2086 -docker run ${docker_args} --name uss_qualifier \ +docker run --name uss_qualifier \ --rm \ -u "$(id -u):$(id -g)" \ -e PYTHONBUFFERED=1 \