-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continue fix for 9871 #352
Conversation
Tests failed for this pull request. |
Code looks okay to me. The log.info message added produced some unexpected info on list |
argh wrong @. @zmc, thoughts? |
machine) | ||
# Delete this variable to avoid linter errors when we redefine it | ||
# in a list comprehension below | ||
del machine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of dancing around the linter, why not just use a different variable like 'fqdn' ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasn't my code; I just factored it into the function. I wondered about that too. probably unnecessary altogether now that it's in a separate function, but I wasn't 100% sure what "linter" meant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I researched: I refer you to 883c97d :) but it can probably just disappear now that it's in a different function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repushed again and removed comment and del
Could you paste some sample output for posterity please? |
Also - I fixed the unit test (that I broke and is unrelated to this), so if you rebase you'll pick that up. |
$ teuthology-lock --brief |
3fb604c
to
344a80e
Compare
Tests passed for this pull request. |
rebased to master |
The existing logic was too tortured, and the previous fix was bad. Rewrite to extract "get_statuses()" to a worker, and make it extremely clear which VM hostkeys are being updated and why. Signed-off-by: Dan Mick <[email protected]>
344a80e
to
416528e
Compare
Tests passed for this pull request. |
The existing logic was too tortured, and the previous fix was bad.
Rewrite to extract "get_statuses()" to a worker, and make it
extremely clear which VM hostkeys are being updated and why.
Signed-off-by: Dan Mick [email protected]