Merge lp:~rvb/maas/cpu_count-bug-1272326 into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1858 |
Proposed branch: | lp:~rvb/maas/cpu_count-bug-1272326 |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
51 lines (+26/-3) 2 files modified
src/metadataserver/models/commissioningscript.py (+8/-3) src/metadataserver/models/tests/test_commissioningscript.py (+18/-0) |
To merge this branch: | bzr merge lp:~rvb/maas/cpu_count-bug-1272326 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Review via email: mp+203503@code.launchpad.net |
Commit message
Fix MAAS' cpu count detection.
Description of the change
The xpath expression now takes into account the declared number of "threads" for a processor, while still counting as one processor those that do not declare their number of threads.
To post a comment you must log in.
lgtm!
Thanks for the patch! This is awesome!