Merge lp:~lmic/maas/maas19+fix-power-query-sm15k into lp:maas/1.9
Proposed by
Larry Michel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Blake Rouse | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 4537 | ||||
Proposed branch: | lp:~lmic/maas/maas19+fix-power-query-sm15k | ||||
Merge into: | lp:maas/1.9 | ||||
Diff against target: |
16 lines (+2/-2) 1 file modified
src/provisioningserver/drivers/power/seamicro.py (+2/-2) |
||||
To merge this branch: | bzr merge lp:~lmic/maas/maas19+fix-power-query-sm15k | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andres Rodriguez (community) | Approve | ||
Newell Jensen (community) | Approve | ||
Review via email: mp+282111@code.launchpad.net |
This proposal supersedes a proposal from 2016-01-10.
Commit message
Pass id from context (which is system id from power parameters) into seamicroclient call when querying power.
Description of the change
Pass id from context (which is system id from power parameters) into seamicroclient call when querying power.
To post a comment you must log in.
Looks good. I had originally coded it incorrectly as sm15k has a power parameter named system_id as well. Reason my unit tests didn't catch this was because when creating the context I also used 'system_id'. I have checked that this code change works with unit tests. Thanks Michael!