projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15014: Hide busy/idle nodes panel when crunch1 is not active.
[arvados.git]
/
services
/
crunch-run
/
crunchrun.go
diff --git
a/services/crunch-run/crunchrun.go
b/services/crunch-run/crunchrun.go
index 84b578a3e21ee6a1b9b70f1adf48709154452bb9..3261291b53650c516f7b58ca50668bfd27dca964 100644
(file)
--- a/
services/crunch-run/crunchrun.go
+++ b/
services/crunch-run/crunchrun.go
@@
-987,7
+987,7
@@
func (runner *ContainerRunner) AttachStreams() (err error) {
go func() {
_, err := io.Copy(response.Conn, stdinRdr)
if err != nil {
go func() {
_, err := io.Copy(response.Conn, stdinRdr)
if err != nil {
- runner.CrunchLog.Printf("While writing stdin collection to docker container
%q
", err)
+ runner.CrunchLog.Printf("While writing stdin collection to docker container
: %v
", err)
runner.stop(nil)
}
stdinRdr.Close()
runner.stop(nil)
}
stdinRdr.Close()
@@
-997,7
+997,7
@@
func (runner *ContainerRunner) AttachStreams() (err error) {
go func() {
_, err := io.Copy(response.Conn, bytes.NewReader(stdinJson))
if err != nil {
go func() {
_, err := io.Copy(response.Conn, bytes.NewReader(stdinJson))
if err != nil {
- runner.CrunchLog.Printf("While writing stdin json to docker container
%q
", err)
+ runner.CrunchLog.Printf("While writing stdin json to docker container
: %v
", err)
runner.stop(nil)
}
response.CloseWrite()
runner.stop(nil)
}
response.CloseWrite()