Commit 4e86365
remote/client: fix named resource matching
`digital_io`, `bootstrap`, `sd_mux`, `usb_mux` and `video` tried to match
against class only instead of class _and_ name if provided. This lead to
an early fail and an uncaught exception when a resource was found but the
name did not match.
Skip resources whose name does not match.
The `power` sub command had the same issue until commit
ac56062
Fixes labgrid-project#1679
Signed-off-by: Sebastian Gross <sgross@emlix.com>
[bst: improved commit message]1 parent 4d86c3b commit 4e86365
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
| 920 | + | |
| 921 | + | |
920 | 922 | | |
921 | 923 | | |
922 | 924 | | |
| |||
1105 | 1107 | | |
1106 | 1108 | | |
1107 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
1108 | 1112 | | |
1109 | 1113 | | |
1110 | 1114 | | |
| |||
1138 | 1142 | | |
1139 | 1143 | | |
1140 | 1144 | | |
| 1145 | + | |
| 1146 | + | |
1141 | 1147 | | |
1142 | 1148 | | |
1143 | 1149 | | |
| |||
1170 | 1176 | | |
1171 | 1177 | | |
1172 | 1178 | | |
| 1179 | + | |
| 1180 | + | |
1173 | 1181 | | |
1174 | 1182 | | |
1175 | 1183 | | |
| |||
1302 | 1310 | | |
1303 | 1311 | | |
1304 | 1312 | | |
| 1313 | + | |
| 1314 | + | |
1305 | 1315 | | |
1306 | 1316 | | |
1307 | 1317 | | |
| |||
0 commit comments