Commit 2ada5c1
other: fix report slave id improper fallback to default
Wrongly attempted to treat the object as a dict, needs to check if the
property is there at all.
Fixes: 042458b: other: reportSlaveId: allow slaves to provide custom responses
Signed-off-by: Karl Palsson <[email protected]>1 parent f2fe48e commit 2ada5c1
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
371 | 376 | | |
372 | 377 | | |
373 | 378 | | |
| |||
0 commit comments