Commit 7bba589
committed
driver/sshdriver: fix caching of _ssh_version
map() returns an iterator, which only works once. Return and cache a
tuple instead.
Fixes: 2c062e3 ("driver/sshdriver: store OpenSSH version in cached property")
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>1 parent 430ec4c commit 7bba589
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| |||
0 commit comments