Merge lp:~gmb/maas/fix-errors-rpc into lp:~maas-committers/maas/trunk

Proposed by Graham Binns
Status: Merged
Approved by: Graham Binns
Approved revision: no longer in the source branch.
Merged at revision: 2961
Proposed branch: lp:~gmb/maas/fix-errors-rpc
Merge into: lp:~maas-committers/maas/trunk
Diff against target: 19 lines (+2/-2)
1 file modified
src/provisioningserver/rpc/cluster.py (+2/-2)
To merge this branch: bzr merge lp:~gmb/maas/fix-errors-rpc
Reviewer Review Type Date Requested Status
Graham Binns (community) trivial Approve
Review via email: mp+234338@code.launchpad.net

Commit message

Fix the declaration of the RPC errors CannotRemoveHostmap and CannotCreateHostmap.

To post a comment you must log in.
Revision history for this message
Graham Binns (gmb) wrote :

Self-approving; trivial.

review: Approve (trivial)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/provisioningserver/rpc/cluster.py'
2--- src/provisioningserver/rpc/cluster.py 2014-09-11 11:25:05 +0000
3+++ src/provisioningserver/rpc/cluster.py 2014-09-11 16:40:42 +0000
4@@ -270,7 +270,7 @@
5 response = []
6 errors = {
7 exceptions.CannotCreateHostMap: (
8- "CannotCreateHostMap"),
9+ b"CannotCreateHostMap"),
10 }
11
12
13@@ -287,7 +287,7 @@
14 response = []
15 errors = {
16 exceptions.CannotRemoveHostMap: (
17- "CannotRemoveHostMap"),
18+ b"CannotRemoveHostMap"),
19 }
20
21