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

Issue 6256070: state: implement UnitsForMachine

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by rog
Modified:
11 years, 11 months ago
Reviewers:
mp+108020, niemeyer
Visibility:
Public.

Description

state: implement UnitsForMachine I'm not entirely sure where unitFromKey should live - better suggestions welcome. https://code.launchpad.net/~rogpeppe/juju/go-state-units-watcher/+merge/108020 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: implement UnitsForMachine #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -2 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/state.go View 1 chunk +38 lines, -0 lines 2 comments Download
M state/state_test.go View 1 chunk +61 lines, -0 lines 0 comments Download
M state/topology.go View 2 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
11 years, 11 months ago (2012-05-30 17:12:54 UTC) #1
niemeyer
LGTM
11 years, 11 months ago (2012-06-05 20:15:34 UTC) #2
niemeyer
Sorry, spoke too soon. LGTM with the following addressed: https://codereview.appspot.com/6256070/diff/2001/state/state.go File state/state.go (right): https://codereview.appspot.com/6256070/diff/2001/state/state.go#newcode254 state/state.go:254: ...
11 years, 11 months ago (2012-06-05 20:19:42 UTC) #3
niemeyer
11 years, 11 months ago (2012-06-06 20:19:14 UTC) #4
I'm confused. Your refactoring of units seems to bring AllUnits on Machine
already, in which case this branch is reimplementing a feature that is not
necessary.

Either way, I'm marking this branch as Rejected in Launchpad since we have to
move to juju-core. It may be reproposed there if it still makes sense after the
units change, for some reason.
Sign in to reply to this message.

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