-
Notifications
You must be signed in to change notification settings - Fork 144
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
Pass correct spec to _parse_system and _parse_location #2924
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
happz
reviewed
May 13, 2024
I already checked before I submitted this merge request^^,we are good
there, as labcontroller is Not a subtab of system,while numanodes is.
…On Mon, May 13, 2024 at 3:06 PM Miloš Prchlík ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In tmt/hardware.py
<#2924 (comment)>:
> @@ -1335,7 +1335,7 @@ def _parse_generic_spec(spec: Spec) -> BaseConstraint:
group.constraints += [_parse_location(spec)]
if 'system' in spec:
- group.constraints += [_parse_system(spec)]
+ group.constraints += [_parse_system(spec['system'])]
Could you include a fix for location as well? Check line 1335, it suffers
from the same issue :(
—
Reply to this email directly, view it on GitHub
<#2924 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFR23EE7YSMVQMNWAO7WKTZCBRAJAVCNFSM6AAAAABHTLQOMOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDANJRHA3DAMRYGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
True, but it's the same bug, it needs to be |
ah,right,not sure what was I thinking😅
…On Mon, May 13, 2024 at 3:34 PM Miloš Prchlík ***@***.***> wrote:
I already checked before I submitted this merge request^^,we are good
there, as labcontroller is Not a subtab of system,while numanodes is.
True, but it's the same bug, it needs to be spec['location'] rather than
spec. I made the same mistake when I added location parsing, would be
nice to fix two instances of the same bug in one patch.
—
Reply to this email directly, view it on GitHub
<#2924 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFR23D4IPYEXGA7YJNTQGDZCBUGRAVCNFSM6AAAAABHTLQOMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWHA2TINRSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
8e8760c
to
95e26d8
Compare
2 tasks
happz
approved these changes
May 17, 2024
therazix
approved these changes
May 22, 2024
The-Mule
pushed a commit
to The-Mule/tmt
that referenced
this pull request
Oct 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area | hardware
Implementation of hardware requirements
ci | full test
Pull request is ready for the full test execution
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist