Added missing assignment of uuid in load_template

This commit is contained in:
Jesse Gardner 2021-04-04 18:29:58 -07:00
parent 2406cdeed3
commit 2151c8c365
1 changed files with 5 additions and 4 deletions

View File

@ -2090,10 +2090,11 @@ done
local state="" name="" local state="" name=""
for id in "${!CL_MAP[@]}"; do for id in "${!CL_MAP[@]}"; do
lv_api_do_comm get_state "$uuid" && state="$(read_pipe)" uuid="${CL_MAP["$id"]}"
CL_STATE["$id"]="$state" lv_api_do_comm get_state "$uuid" && state="$(read_pipe)"
lv_api_do_comm get_name "$uuid" && name="$(read_pipe)" CL_STATE["$id"]="$state"
NAME_MAP["$id"]="$name" lv_api_do_comm get_name "$uuid" && name="$(read_pipe)"
NAME_MAP["$id"]="$name"
done done
lv_api_do_close lv_api_do_close