Skip to content

Commit

Permalink
Left variable declaration on wrong line
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Neff <andy@visionsystemsinc.com>
  • Loading branch information
andyneff committed Sep 8, 2023
1 parent e8948f6 commit 3446c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/just_files/docker_compose_override
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ function generate_docker_compose_override()
local enumerated_volumes_all=()
local enumerated_volumes
local -i i=1
local -i j=1

# nvidia gpu
local nvidia_devices_name
Expand Down Expand Up @@ -401,7 +402,6 @@ function generate_docker_compose_override()
# Deduplicate. Only need to remove from volumes_host, as that is what is used
# for indexing.
for i in "${!volumes_host[@]}"; do
local -i j=1
for j in "${!volumes_host[@]}"; do
# only search one sided and just entries already removed
if [ "${i}" -ge "${j}" -o -z "${volumes_host[i]+set}" ]; then
Expand Down

0 comments on commit 3446c4a

Please sign in to comment.