Added missing assignment of uuid in load_template
This commit is contained in:
parent
2406cdeed3
commit
2151c8c365
9
qq2clone
9
qq2clone
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue