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

Issue 6428076: cmd/juju: status: workaround json limitations (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by dave
Modified:
11 years, 9 months ago
Reviewers:
mp+116495
Visibility:
Public.

Description

cmd/juju: status: workaround json limitations This proposal allows keys for the machines map to be ints, while retaining compatibility with encoding/json. It adds some ugliness; but has a cute function name. https://code.launchpad.net/~dave-cheney/juju-core/go-cmd-juju-status-yaml-json-fix/+merge/116495 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/juju: status: workaround json limitations #

Patch Set 3 : cmd/juju: status: workaround json limitations #

Patch Set 4 : cmd/juju: status: workaround json limitations #

Patch Set 5 : cmd/juju: status: workaround json limitations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -26 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A cmd/juju/export_test.go View 1 chunk +5 lines, -0 lines 0 comments Download
M cmd/juju/status.go View 1 2 5 chunks +27 lines, -18 lines 0 comments Download
M cmd/juju/status_test.go View 1 2 3 4 chunks +12 lines, -8 lines 0 comments Download
M cmd/output.go View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-24 14:56:25 UTC) #1
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-24 15:13:04 UTC) #2
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-24 15:49:40 UTC) #3
niemeyer
LGTM, thanks!
11 years, 9 months ago (2012-07-25 09:40:37 UTC) #4
dave_cheney.net
11 years, 9 months ago (2012-07-25 09:46:25 UTC) #5
*** Submitted:

cmd/juju: status: workaround json limitations

This proposal allows keys for the machines map to be ints, while
retaining compatibility with encoding/json.

It adds some ugliness; but has a cute function name.

R=niemeyer
CC=
https://codereview.appspot.com/6428076
Sign in to reply to this message.

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