Index: worker/uniter/jujuc/server.go |
=== modified file 'worker/uniter/jujuc/server.go' |
--- worker/uniter/jujuc/server.go 2013-02-22 01:12:28 +0000 |
+++ worker/uniter/jujuc/server.go 2013-02-28 08:11:29 +0000 |
@@ -91,12 +91,7 @@ |
return badReqErrorf("%s", err) |
} |
var stdin, stdout, stderr bytes.Buffer |
- ctx := &cmd.Context{ |
- Dir: req.Dir, |
- Stdin: &stdin, |
- Stdout: &stdout, |
- Stderr: &stderr, |
- } |
+ ctx := &cmd.Context{req.Dir, &stdin, &stdout, &stderr} |
j.mu.Lock() |
defer j.mu.Unlock() |
log.Printf("worker/uniter/jujuc: running hook %q %q", req.CommandName, req.Args) |