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
=== modified file 'src/provisioningserver/rpc/cluster.py'
--- src/provisioningserver/rpc/cluster.py 2014-09-11 11:25:05 +0000
+++ src/provisioningserver/rpc/cluster.py 2014-09-11 16:40:42 +0000
@@ -270,7 +270,7 @@
270 response = []270 response = []
271 errors = {271 errors = {
272 exceptions.CannotCreateHostMap: (272 exceptions.CannotCreateHostMap: (
273 "CannotCreateHostMap"),273 b"CannotCreateHostMap"),
274 }274 }
275275
276276
@@ -287,7 +287,7 @@
287 response = []287 response = []
288 errors = {288 errors = {
289 exceptions.CannotRemoveHostMap: (289 exceptions.CannotRemoveHostMap: (
290 "CannotRemoveHostMap"),290 b"CannotRemoveHostMap"),
291 }291 }
292292
293293