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

Issue 20670044: cmd/juju: use API for resolved

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by axw
Modified:
10 years, 5 months ago
Reviewers:
mp+193564, john2, jameinel
Visibility:
Public.

Description

cmd/juju: use API for resolved Partially fixes #1246983 https://code.launchpad.net/~axwalk/juju-core/lp1246983-cli-api-resolved/+merge/193564 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/juju: use API for resolved #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -20 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/resolved.go View 1 chunk +6 lines, -10 lines 0 comments Download
M state/apiserver/client/client_test.go View 1 1 chunk +27 lines, -10 lines 2 comments Download

Messages

Total messages: 6
axw
Please take a look.
10 years, 5 months ago (2013-11-01 09:30:31 UTC) #1
john2
This code is nice and straightforward, but because I was digging around with the other ...
10 years, 5 months ago (2013-11-02 20:30:56 UTC) #2
axw
On 2013/11/02 20:30:56, john2 wrote: > This code is nice and straightforward, but because I ...
10 years, 5 months ago (2013-11-04 02:43:28 UTC) #3
axw
Please take a look.
10 years, 5 months ago (2013-11-04 02:52:33 UTC) #4
jameinel
LGTM https://codereview.appspot.com/20670044/diff/20001/state/apiserver/client/client_test.go File state/apiserver/client/client_test.go (right): https://codereview.appspot.com/20670044/diff/20001/state/apiserver/client/client_test.go#newcode375 state/apiserver/client/client_test.go:375: }} I would actually say that this is ...
10 years, 5 months ago (2013-11-05 04:43:12 UTC) #5
axw
10 years, 5 months ago (2013-11-05 04:58:24 UTC) #6
https://codereview.appspot.com/20670044/diff/20001/state/apiserver/client/cli...
File state/apiserver/client/client_test.go (right):

https://codereview.appspot.com/20670044/diff/20001/state/apiserver/client/cli...
state/apiserver/client/client_test.go:375: }}
On 2013/11/05 04:43:13, jameinel wrote:
> I would actually say that this is a case where having 2 tests is clearer about
> what is going on. Possibly a helper function that takes the parameters if
there
> is too much repeated code.

Agreed; changing to two tests.

> But meh, good enough.
Sign in to reply to this message.

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