Merge lp://staging/~mthaddon/charm-haproxy/dict-value into lp://staging/charm-haproxy

Proposed by Tom Haddon
Status: Merged
Approved by: 🤖 Canonical IS Review Bot
Approved revision: 159
Merged at revision: 159
Proposed branch: lp://staging/~mthaddon/charm-haproxy/dict-value
Merge into: lp://staging/charm-haproxy
Diff against target: 12 lines (+1/-1)
1 file modified
hooks/hooks.py (+1/-1)
To merge this branch: bzr merge lp://staging/~mthaddon/charm-haproxy/dict-value
Reviewer Review Type Date Requested Status
🤖 Canonical IS Review Bot Approve
Canonical IS Reviewers Pending
Review via email: mp+448242@code.staging.launchpad.net

Commit message

Switch to a list rather than trying to sort, as doing so will fail with a TypeError for services_dict.

Description of the change

Switch to a list rather than trying to sort, as doing so will fail with a TypeError for services_dict.

The specific error we're seeing was https://paste.ubuntu.com/p/MqgM7Vd5xc/ and was caused by trying to compare two dict_value objects, which doesn't work in Python3. Just convert to a list instead.

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Review Bot (canonical-is-reviewbot) wrote :

Proxy approval for moon127

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 159

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: