* Jobs return an integer status instead of a string
* Status convention mimics unix process execution: 0=success, 1=generic error, 127="no such command"
* Stdout and Stderr support multiple thread-safe data receivers and ring buffer filtering
... | ... |
@@ -168,7 +168,7 @@ func Tail(src io.Reader, n int, dst *[]string) { |
168 | 168 |
// AddEnv starts a new goroutine which will decode all subsequent data |
169 | 169 |
// as a stream of json-encoded objects, and point `dst` to the last |
170 | 170 |
// decoded object. |
171 |
-// The result `env` can be queried using the type-neutral Env interface. |
|
171 |
+// The result `env` can be queried using the type-neutral Env interface. |
|
172 | 172 |
// It is not safe to query `env` until the Output is closed. |
173 | 173 |
func (o *Output) AddEnv() (dst *Env, err error) { |
174 | 174 |
src, err := o.AddPipe() |
... | ... |
@@ -185,9 +185,8 @@ func (o *Output) AddEnv() (dst *Env, err error) { |
185 | 185 |
if err != nil { |
186 | 186 |
return |
187 | 187 |
} |
188 |
- *dst= *env |
|
188 |
+ *dst = *env |
|
189 | 189 |
} |
190 | 190 |
}() |
191 | 191 |
return dst, nil |
192 | 192 |
} |
193 |
- |