Merge ~dgadomski/curtin:grub-config-not-subsciptable into curtin:master
Status: | Needs review |
---|---|
Proposed branch: | ~dgadomski/curtin:grub-config-not-subsciptable |
Merge into: | curtin:master |
Diff against target: |
13 lines (+1/-1) 1 file modified
curtin/commands/curthooks.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
curtin developers | Pending | ||
Review via email: mp+466000@code.launchpad.net |
Commit message
curthooks: fix deprecated GrubConfig properties syntax
There was a leftover example of accessing GrubConfig properties that has
been removed by commit 4587fd40dfd7eab
Description of the change
If the user tries to run an automated installation and will set
storage.
LOG.warn("Storage Config grub device config takes precedence "
This will lead to:
TypeError: 'GrubConfig' object is not subscriptable
'GrubConfig' object is not subscriptable
The syntax used in this line is a pre-refactoring leftover probably skipped by mistake in commit 4587fd40dfd7eab
PASSED: Continuous integration, rev:700b1f87569 90ce06b8b57056d 227a0d5385f15f /jenkins. canonical. com/server- team/job/ curtin- ci/268/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-amd64/ 268/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-arm64/ 268/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-ppc64el/ 268/ /jenkins. canonical. com/server- team/job/ curtin- ci/nodes= metal-s390x/ 268/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/server- team/job/ curtin- ci/268/ /rebuild
https:/