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

Issue 10203043: Add ParentId() to Machine (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by wallyworld
Modified:
10 years, 10 months ago
Reviewers:
mp+168827, thumper, fwereade
Visibility:
Public.

Description

Add ParentId() to Machine This branch provides the ability to ask a container for its parent machine's id. https://code.launchpad.net/~wallyworld/juju-core/add-machine-parent-getter/+merge/168827 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add ParentId() to Machine #

Patch Set 3 : Add ParentId() to Machine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -3 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M state/container.go View 2 chunks +12 lines, -3 lines 0 comments Download
M state/machine.go View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M state/machine_test.go View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 6
wallyworld
Please take a look.
10 years, 10 months ago (2013-06-11 22:42:20 UTC) #1
thumper
https://codereview.appspot.com/10203043/diff/1/state/machine.go File state/machine.go (right): https://codereview.appspot.com/10203043/diff/1/state/machine.go#newcode243 state/machine.go:243: return m.st.Machine(parentId) Unfortunately this is making an assumption that ...
10 years, 10 months ago (2013-06-11 22:47:06 UTC) #2
thumper
On 2013/06/11 22:47:06, thumper wrote: > https://codereview.appspot.com/10203043/diff/1/state/machine.go > File state/machine.go (right): > > https://codereview.appspot.com/10203043/diff/1/state/machine.go#newcode243 > ...
10 years, 10 months ago (2013-06-11 23:07:23 UTC) #3
fwereade
LGTM with ParentId as suggested. https://codereview.appspot.com/10203043/diff/1/state/machine.go File state/machine.go (right): https://codereview.appspot.com/10203043/diff/1/state/machine.go#newcode241 state/machine.go:241: return nil, nil There's ...
10 years, 10 months ago (2013-06-11 23:43:38 UTC) #4
wallyworld
Please take a look.
10 years, 10 months ago (2013-06-12 00:03:45 UTC) #5
wallyworld
10 years, 10 months ago (2013-06-12 00:11:10 UTC) #6
*** Submitted:

Add ParentId() to Machine

This branch provides the ability to ask a container for its parent machine's id.

R=thumper, fwereade
CC=
https://codereview.appspot.com/10203043
Sign in to reply to this message.

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