Skip to content

remote/client: fix automatic driver selection#795

Merged
jluebbe merged 1 commit intolabgrid-project:masterfrom
jluebbe:client-driver-detect
Jul 9, 2021
Merged

remote/client: fix automatic driver selection#795
jluebbe merged 1 commit intolabgrid-project:masterfrom
jluebbe:client-driver-detect

Conversation

@jluebbe
Copy link
Copy Markdown
Member

@jluebbe jluebbe commented Jul 8, 2021

We must abort the for loop as soon as we find any matching driver. Otherwise
we'd possibly overwrite it in a later iteration. This also avoids some
redundant lines.

We must abort the for loop as soon as we find any matching driver. Otherwise
we'd possibly overwrite it in a later iteration. This also avoids some
redundant lines.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
@jluebbe jluebbe added the bug label Jul 8, 2021
@jluebbe jluebbe requested a review from Emantor July 8, 2021 13:20
@jluebbe jluebbe self-assigned this Jul 8, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 8, 2021

Codecov Report

Merging #795 (e65aaa9) into master (2082d9a) will increase coverage by 0.0%.
The diff coverage is 0.0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #795   +/-   ##
======================================
  Coverage    56.7%   56.8%           
======================================
  Files         143     143           
  Lines       10617   10611    -6     
======================================
+ Hits         6030    6033    +3     
+ Misses       4587    4578    -9     
Impacted Files Coverage Δ
labgrid/remote/client.py 44.7% <0.0%> (+0.2%) ⬆️
labgrid/driver/ubootdriver.py 61.0% <0.0%> (+1.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2082d9a...e65aaa9. Read the comment docs.

@jluebbe jluebbe merged commit 21e1862 into labgrid-project:master Jul 9, 2021
@jluebbe jluebbe deleted the client-driver-detect branch July 9, 2021 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants