mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 03:49:52 +00:00
Merge commit 'f76d527ee397d84ad0cd1dec1791e83c950430d7' into thingdoer
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
- name: one
|
||||
command: echo one
|
||||
command: echo $PATH; which touch; foo
|
||||
- name: two
|
||||
after: [one]
|
||||
command: echo two
|
||||
|
||||
@@ -37,10 +37,9 @@ func (t *thing) run() {
|
||||
} else {
|
||||
log.Printf(">>> %s finished with success after %0.1f secs\n", t.Name, duration)
|
||||
}
|
||||
if err != nil {
|
||||
log.Print(out.String())
|
||||
log.Println()
|
||||
}
|
||||
|
||||
log.Print(out.String())
|
||||
log.Println()
|
||||
|
||||
t.success = err == nil
|
||||
}
|
||||
@@ -122,7 +121,7 @@ func main() {
|
||||
break
|
||||
}
|
||||
|
||||
// remove it as a dependancy from
|
||||
// remove it as a dependency from
|
||||
// other things
|
||||
for _, t := range things {
|
||||
t.After = remove(thing.Name, t.After)
|
||||
|
||||
Reference in New Issue
Block a user