Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(43)

Issue 13336043: state/apiserver: make ServerError work properly

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by rog
Modified:
10 years, 8 months ago
Reviewers:
mp+182562, jameinel, fwereade
Visibility:
Public.

Description

state/apiserver: make ServerError work properly It didn't work if the error type was non-comparable. https://code.launchpad.net/~rogpeppe/juju-core/377-fix-server-error/+merge/182562 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/apiserver: make ServerError work properly #

Patch Set 3 : state/apiserver: make ServerError work properly #

Patch Set 4 : state/apiserver: make ServerError work properly #

Total comments: 2

Patch Set 5 : state/apiserver: make ServerError work properly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -3 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M state/apiserver/common/errors.go View 1 2 3 4 2 chunks +13 lines, -2 lines 0 comments Download
M state/apiserver/common/errors_test.go View 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 7
rog
Please take a look.
10 years, 8 months ago (2013-08-28 08:51:25 UTC) #1
rog
Please take a look.
10 years, 8 months ago (2013-08-28 08:58:05 UTC) #2
rog
Please take a look.
10 years, 8 months ago (2013-08-28 08:59:19 UTC) #3
jameinel
Thanks for moving the tests. I have: https://codereview.appspot.com/13338043 For the other way of fixing this. ...
10 years, 8 months ago (2013-08-28 09:02:40 UTC) #4
rog
https://codereview.appspot.com/13336043/diff/8001/state/apiserver/common/errors.go File state/apiserver/common/errors.go (right): https://codereview.appspot.com/13336043/diff/8001/state/apiserver/common/errors.go#newcode68 state/apiserver/common/errors.go:68: func ServerError(err error) (apiError *params.Error) { On 2013/08/28 09:02:40, ...
10 years, 8 months ago (2013-08-28 09:12:44 UTC) #5
rog
Please take a look.
10 years, 8 months ago (2013-08-28 09:13:44 UTC) #6
fwereade
10 years, 8 months ago (2013-08-28 11:20:37 UTC) #7
LGTM also fwiw
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b