diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-06 08:43:08 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-16 16:05:51 +0200 |
commit | 8a31eaff39e9ed87cd4d272dc4bfc4ce87c86804 (patch) | |
tree | a21c89d8ea21897a4056f5d656bcce48ff58c3fe | |
parent | d949d6d395bdf195c80c187eae932b690f98a7c0 (diff) |
Fix: Add missing quotes
This fixes shellcheck SC2068
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r-- | plugins/tedge_docker_plugin/tedge_docker_plugin.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/tedge_docker_plugin/tedge_docker_plugin.sh b/plugins/tedge_docker_plugin/tedge_docker_plugin.sh index 45b11afd..30b66f04 100644 --- a/plugins/tedge_docker_plugin/tedge_docker_plugin.sh +++ b/plugins/tedge_docker_plugin/tedge_docker_plugin.sh @@ -44,7 +44,7 @@ extract_image_tag_from_args() { esac fi - unsupported_args_check $@ + unsupported_args_check "$@" } @@ -59,16 +59,16 @@ shift # Pop the command from args list case "$COMMAND" in prepare) - unsupported_args_check $@ + unsupported_args_check "$@" # nothing to do here ;; list) - unsupported_args_check $@ + unsupported_args_check "$@" docker image list --format '{{.Repository}}\t{{.Tag}}' || exit 2 ;; install) # Extract the docker image tag into the IMAGE_TAG variable - extract_image_tag_from_args $@ + extract_image_tag_from_args "$@" # Stop all containers using the provided image name containers=$(docker ps -a --format "{{.ID}} {{.Image}}" | grep $IMAGE_NAME | awk '{print $1}') || exit 2 |