projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d4f8a
)
10705: Fix double-logged error.
author
Tom Clegg <tom@curoverse.com>
Wed, 1 Feb 2017 16:38:29 +0000
(11:38 -0500)
committer
Tom Clegg <tom@curoverse.com>
Wed, 1 Feb 2017 16:38:29 +0000
(11:38 -0500)
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
patch
|
blob
|
history
diff --git
a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
index 1c080f36ac13133b12ad4308fb62d6f53549ded3..e8c0a274d3275426bff69744754ae816d357ca19 100644
(file)
--- a/
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
+++ b/
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
@@
-160,10
+160,7
@@
func submit(dispatcher *dispatch.Dispatcher,
// OK, no cleanup needed
return
}
- err := dispatcher.Unlock(container.UUID)
- if err != nil {
- log.Printf("Error unlocking container %s: %v", container.UUID, err)
- }
+ dispatcher.Unlock(container.UUID)
}()
cmd := sbatchCmd(container)