projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab832f5
)
18790: Don't check stderr.txt for container state hints.
author
Tom Clegg <tom@curii.com>
Wed, 5 Apr 2023 23:58:30 +0000
(19:58 -0400)
committer
Tom Clegg <tom@curii.com>
Wed, 5 Apr 2023 23:58:30 +0000
(19:58 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
cmd/arvados-client/container_gateway.go
patch
|
blob
|
history
diff --git
a/cmd/arvados-client/container_gateway.go
b/cmd/arvados-client/container_gateway.go
index 806bcd277adcd1c8764b71f9672c57f077bc0734..36c376e5c097371cd3a1a0cc07ecc770209047e4 100644
(file)
--- a/
cmd/arvados-client/container_gateway.go
+++ b/
cmd/arvados-client/container_gateway.go
@@
-280,10
+280,12
@@
func (lc *logsCommand) display(out, stderr io.Writer, watching []string, receive
if err != nil {
fmt.Fprintln(stderr, err)
}
- checkState = checkState ||
- bytes.HasSuffix(line, []byte("Complete")) ||
- bytes.HasSuffix(line, []byte("Cancelled")) ||
- bytes.HasSuffix(line, []byte("Queued"))
+ if fnm == "crunch-run.txt" {
+ checkState = checkState ||
+ bytes.HasSuffix(line, []byte("Complete")) ||
+ bytes.HasSuffix(line, []byte("Cancelled")) ||
+ bytes.HasSuffix(line, []byte("Queued"))
+ }
}
}
return checkState