Merge ~j.kylmala/cloud-init:exceptions into cloud-init:master
Proposed by
Joonas Kylmälä
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | b6c478e07008819ea1a69a666f3a97c89f457e19 | ||||
Proposed branch: | ~j.kylmala/cloud-init:exceptions | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
15 lines (+2/-2) 1 file modified
tools/mock-meta.py (+2/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email: mp+327284@code.launchpad.net |
Commit message
tools: Fix exception handling.
We should be expecting IndexError instead of KeyError because we are
using a list (key_ids) and not a dictionary. Also, thanks to Emmanuel
Kasper for pointing out the wrong response code.
LP: #1701527
To post a comment you must log in.
PASSED: Continuous integration, rev:ec81bec2285 a498c2c75457275 5929d983db3ef8 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 36/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: CentOS 6 & 7: Build & Test
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 36/rebuild
https:/