tree-wide: use _contains() rather than _get()/_find()

This commit is contained in:
Yu Watanabe
2026-03-02 23:10:22 +09:00
parent 8b3d3d6d67
commit 4b4eba1666
14 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -3499,7 +3499,7 @@ static int pattern_match_multiple_instances(
if (r < 0)
return r;
if (strv_find(rule.instances, instance_name))
if (strv_contains(rule.instances, instance_name))
return 1;
}
return 0;