Merge lp:~mattyw/juju-core/1191066 into lp:~go-bot/juju-core/trunk

Proposed by Matthew Williams
Status: Merged
Approved by: William Reade
Approved revision: no longer in the source branch.
Merged at revision: 1355
Proposed branch: lp:~mattyw/juju-core/1191066
Merge into: lp:~go-bot/juju-core/trunk
Diff against target: 25 lines (+2/-2)
2 files modified
cmd/juju/ssh.go (+1/-1)
cmd/jujud/agent.go (+1/-1)
To merge this branch: bzr merge lp:~mattyw/juju-core/1191066
Reviewer Review Type Date Requested Status
Juju Engineering Pending
Review via email: mp+171782@code.launchpad.net

Commit message

Bug fix for lp:1191066. juju ssh doc change: juju ssh can take a unit name rather than a service name, also agent. was making gofmt sad

Description of the change

Bug fix for lp:1191066

juju ssh can take a unit name rather than a service name, also agent. was making gofmt sad

https://codereview.appspot.com/10683043/

To post a comment you must log in.
Revision history for this message
Matthew Williams (mattyw) wrote :

Reviewers: mp+171782_code.launchpad.net,

Message:
Please take a look.

Description:
Bug fix for lp:1191066

juju ssh can take a unit name rather than a service name, also agent.
was making gofmt sad

https://code.launchpad.net/~mattyw/juju-core/1191066/+merge/171782

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/10683043/

Affected files:
   A [revision details]
   M cmd/juju/ssh.go
   M cmd/jujud/agent.go

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-20130627113211-1fh1aiobalx7tfwk
+New revision: <email address hidden>

Index: cmd/juju/ssh.go
=== modified file 'cmd/juju/ssh.go'
--- cmd/juju/ssh.go 2013-06-16 23:07:00 +0000
+++ cmd/juju/ssh.go 2013-06-27 12:00:29 +0000
@@ -29,7 +29,7 @@

  const sshDoc = `
  Launch an ssh shell on the machine identified by the <service> parameter.
-<service> can be either a machine id or a service name. Any extra
parameters
+<service> can be either a machine id or a unit name. Any extra parameters
  are treated as extra parameters for the ssh command.
  `

Index: cmd/jujud/agent.go
=== modified file 'cmd/jujud/agent.go'
--- cmd/jujud/agent.go 2013-06-27 09:26:02 +0000
+++ cmd/jujud/agent.go 2013-06-27 12:02:03 +0000
@@ -143,7 +143,7 @@
   // We let the API dial fail immediately because the
   // runner's loop outside the caller of openAPIState will
   // keep on retrying. If we block for ages here,
- // then the worker that's calling this cannot
+ // then the worker that's calling this cannot
   // be interrupted.
   st, newPassword, err := c.OpenAPI(api.DialOpts{})
   if err != nil {

Revision history for this message
John A Meinel (jameinel) wrote :
Revision history for this message
Dimiter Naydenov (dimitern) wrote :

LGTM, but please link the MP to the bug.

https://codereview.appspot.com/10683043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'cmd/juju/ssh.go'
2--- cmd/juju/ssh.go 2013-06-16 23:07:00 +0000
3+++ cmd/juju/ssh.go 2013-06-27 12:09:26 +0000
4@@ -29,7 +29,7 @@
5
6 const sshDoc = `
7 Launch an ssh shell on the machine identified by the <service> parameter.
8-<service> can be either a machine id or a service name. Any extra parameters
9+<service> can be either a machine id or a unit name. Any extra parameters
10 are treated as extra parameters for the ssh command.
11 `
12
13
14=== modified file 'cmd/jujud/agent.go'
15--- cmd/jujud/agent.go 2013-06-27 09:26:02 +0000
16+++ cmd/jujud/agent.go 2013-06-27 12:09:26 +0000
17@@ -143,7 +143,7 @@
18 // We let the API dial fail immediately because the
19 // runner's loop outside the caller of openAPIState will
20 // keep on retrying. If we block for ages here,
21- // then the worker that's calling this cannot
22+ // then the worker that's calling this cannot
23 // be interrupted.
24 st, newPassword, err := c.OpenAPI(api.DialOpts{})
25 if err != nil {

Subscribers

People subscribed via source and target branches

to status/vote changes: