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

Issue 11586043: state/api/(deployer,upgrader): consistent naming

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by rog
Modified:
10 years, 9 months ago
Reviewers:
mue, dimitern, mp+175891
Visibility:
Public.

Description

state/api/(deployer,upgrader): consistent naming We already have machiner.State and machineagent.State; this brings the deployer and upgrader packages into line. The reasoning behind the name is that, even though we are talking through the API, we are talking to the juju state nevertheless - an indirection should not need a rename in the client code. Note: there are no logic changes in this branch. https://code.launchpad.net/~rogpeppe/juju-core/341-rename-worker-types/+merge/175891 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state/api/(deployer,upgrader): consistent naming #

Total comments: 4

Patch Set 3 : state/api/(deployer,upgrader): consistent naming #

Patch Set 4 : state/api/(deployer,upgrader): consistent naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -76 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M state/api/deployer/deployer.go View 1 2 2 chunks +19 lines, -18 lines 0 comments Download
M state/api/deployer/deployer_test.go View 11 chunks +18 lines, -18 lines 0 comments Download
M state/api/deployer/machine.go View 3 chunks +4 lines, -4 lines 0 comments Download
M state/api/deployer/unit.go View 4 chunks +6 lines, -6 lines 0 comments Download
M state/api/state.go View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M state/api/upgrader/upgrader.go View 1 2 4 chunks +13 lines, -12 lines 0 comments Download
M state/api/upgrader/upgrader_test.go View 1 2 3 7 chunks +9 lines, -9 lines 0 comments Download
M state/apiserver/upgrader/upgrader.go View 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 5
rog
Please take a look.
10 years, 9 months ago (2013-07-19 16:43:09 UTC) #1
dimitern
LGTM with a couple of comments. https://codereview.appspot.com/11586043/diff/3001/state/api/deployer/deployer.go File state/api/deployer/deployer.go (right): https://codereview.appspot.com/11586043/diff/3001/state/api/deployer/deployer.go#newcode56 state/api/deployer/deployer.go:56: // Machine provides ...
10 years, 9 months ago (2013-07-19 16:47:42 UTC) #2
rog
Please take a look. https://codereview.appspot.com/11586043/diff/3001/state/api/deployer/deployer.go File state/api/deployer/deployer.go (right): https://codereview.appspot.com/11586043/diff/3001/state/api/deployer/deployer.go#newcode56 state/api/deployer/deployer.go:56: // Machine provides access to ...
10 years, 9 months ago (2013-07-19 17:08:32 UTC) #3
rog
Please take a look.
10 years, 9 months ago (2013-07-19 17:10:34 UTC) #4
mue
10 years, 9 months ago (2013-07-23 09:02:58 UTC) #5
LGTM
Sign in to reply to this message.

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