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

Issue 6445089: add uniter.EnsureTools

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by fwereade
Modified:
11 years, 8 months ago
Reviewers:
mp+118710
Visibility:
Public.

Description

add uniter.EnsureTools ...which will write jujuc symlinks into the agent's tools dir for every known hook command, and bail if it cannot do so for any reason. https://code.launchpad.net/~fwereade/juju-core/uniter-ensure-tools/+merge/118710 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : add uniter.EnsureTools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujuc/server/context.go View 1 chunk +9 lines, -0 lines 0 comments Download
M worker/uniter/relationstate.go View 1 chunk +1 line, -1 line 0 comments Download
A worker/uniter/tools.go View 1 chunk +52 lines, -0 lines 0 comments Download
A worker/uniter/tools_test.go View 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 3
fwereade
Please take a look.
11 years, 8 months ago (2012-08-08 10:44:07 UTC) #1
niemeyer
LGTM https://codereview.appspot.com/6445089/diff/1/worker/uniter/tools.go File worker/uniter/tools.go (right): https://codereview.appspot.com/6445089/diff/1/worker/uniter/tools.go#newcode17 worker/uniter/tools.go:17: dir := environs.AgentToolsDir(unitFsName) The magic of converting to ...
11 years, 8 months ago (2012-08-08 10:58:42 UTC) #2
fwereade
11 years, 8 months ago (2012-08-08 11:31:59 UTC) #3
*** Submitted:

add uniter.EnsureTools

...which will write jujuc symlinks into the agent's tools dir for every
known hook command, and bail if it cannot do so for any reason.

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

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