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

Issue 66590043: Restore juju status compatibility with 1.16

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by gz
Modified:
10 years, 2 months ago
Reviewers:
dimitern, mp+207482
Visibility:
Public.

Description

Restore juju status compatibility with 1.16 A stub 'Status' api call was included in 1.16 though not used in our codebase. It does break the fallback logic to switch and operate on state directly when talking to a 1.16 state server however. This branch reintroduces the old call with the existing name, and uses 'FullStatus' for actual status api. https://code.launchpad.net/~gz/juju-core/status_api_1.16_compat/+merge/207482 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : Restore juju status compatibility with 1.16 #

Total comments: 1

Patch Set 3 : Restore juju status compatibility with 1.16 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -6 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/client.go View 1 2 1 chunk +25 lines, -5 lines 0 comments Download
M state/apiserver/client/status.go View 1 2 2 chunks +19 lines, -1 line 0 comments Download
A state/apiserver/client/status_test.go View 1 2 1 chunk +58 lines, -0 lines 0 comments Download

Messages

Total messages: 7
gz
Please take a look.
10 years, 2 months ago (2014-02-20 16:04:46 UTC) #1
dimitern
Looks like a good start. Tests usually go in apiserver/client/, and in this case perhaps ...
10 years, 2 months ago (2014-02-20 16:14:01 UTC) #2
gz
Thanks Dimiter! https://codereview.appspot.com/66590043/diff/1/state/api/client.go File state/api/client.go (right): https://codereview.appspot.com/66590043/diff/1/state/api/client.go#newcode86 state/api/client.go:86: // LegacyMachineStatus holds just the instance-id of ...
10 years, 2 months ago (2014-02-20 16:18:53 UTC) #3
gz
Please take a look.
10 years, 2 months ago (2014-02-20 16:54:50 UTC) #4
dimitern
Better, thanks. Now you only need to add some api/client tests I think and should ...
10 years, 2 months ago (2014-02-20 17:11:01 UTC) #5
gz
Please take a look.
10 years, 2 months ago (2014-02-24 17:44:52 UTC) #6
dimitern
10 years, 2 months ago (2014-02-24 17:45:53 UTC) #7
On 2014/02/20 17:11:01, dimitern wrote:
> Better, thanks.
> 
> Now you only need to add some api/client tests I think and should be good to
> land.
> 

Forget about this, sorry. I was thinking of the agent api client tests. LGTM.
Sign in to reply to this message.

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