default-nodes-tests: use the changed variable in test utils

This commit is contained in:
Ashok Sidipotu 2023-03-09 05:32:28 +05:30 committed by Julian Bouzas
parent 5c17747112
commit e7c992e97d

View file

@ -47,7 +47,7 @@ SimpleEventHook {
device_match_count = device_match_count + 1
tu.metadata:set (0, key, "Spa:String:JSON",
tu.default_metadata:set (0, key, "Spa:String:JSON",
Json.Object { ["name"] = name }:to_string ())
if device_match_count == 3 then