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

Issue 7071051: cmd/jujud: factor out run loop

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

Description

cmd/jujud: factor out run loop Gets rid of a fair amount of duplicated code, and makes it possible to test the run loop independently of the agents too (reserved for a future CL). https://code.launchpad.net/~rogpeppe/juju-core/183-jujud-runloop/+merge/142320 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/jujud: factor out run loop #

Patch Set 3 : cmd/jujud: factor out run loop #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -90 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/agent.go View 2 chunks +58 lines, -0 lines 0 comments Download
M cmd/jujud/machine.go View 3 chunks +15 lines, -45 lines 0 comments Download
M cmd/jujud/unit.go View 2 chunks +15 lines, -45 lines 0 comments Download
M cmd/jujud/upgrade.go View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/upgrade_test.go View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
11 years, 3 months ago (2013-01-08 14:16:36 UTC) #1
fwereade
LGTM, I think it's a very good direction.
11 years, 3 months ago (2013-01-08 14:21:47 UTC) #2
dimitern
11 years, 3 months ago (2013-01-08 14:26:06 UTC) #3
dimitern
On 2013/01/08 14:16:36, rog wrote: > Please take a look. LGTM
11 years, 3 months ago (2013-01-08 14:28:40 UTC) #4
TheMue
Yeah, makes it more clear. So LGTM. Only want comments on the Agent interface method ...
11 years, 3 months ago (2013-01-08 14:29:19 UTC) #5
rog
11 years, 3 months ago (2013-01-08 14:47:19 UTC) #6
*** Submitted:

cmd/jujud: factor out run loop

Gets rid of a fair amount of duplicated code, and makes it
possible to test the run loop independently of the agents
too (reserved for a future CL).

R=fwereade, dimitern, TheMue
CC=
https://codereview.appspot.com/7071051
Sign in to reply to this message.

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