Skip to content

Commit 273bbae

Browse files
committed
style: fix shfmt formatting in case statement
1 parent fdb1ef3 commit 273bbae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build-lgtm.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ echo "Building the Grafana OTEL-LGTM image with release ${RELEASE}..."
99

1010
if [ -n "$CONTAINER_RUNTIME_OVERRIDE" ]; then
1111
case "$CONTAINER_RUNTIME_OVERRIDE" in
12-
docker|podman) RUNTIME="$CONTAINER_RUNTIME_OVERRIDE" ;;
13-
*) echo "Invalid runtime: $CONTAINER_RUNTIME_OVERRIDE (must be docker or podman)"; exit 1 ;;
12+
docker | podman) RUNTIME="$CONTAINER_RUNTIME_OVERRIDE" ;;
13+
*)
14+
echo "Invalid runtime: $CONTAINER_RUNTIME_OVERRIDE (must be docker or podman)"
15+
exit 1
16+
;;
1417
esac
1518
elif command -v docker >/dev/null 2>&1; then
1619
RUNTIME=docker

0 commit comments

Comments
 (0)