projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18874: Add 'services/workbench2/' from commit 'f6f88d9ca9cdeeeebfadcfe999789bfb9f69e5c6'
[arvados.git]
/
services
/
crunch-dispatch-slurm
/
slurm.go
diff --git
a/services/crunch-dispatch-slurm/slurm.go
b/services/crunch-dispatch-slurm/slurm.go
index 782be7d8c4e7226ced947bcd26c983ecb6b31de3..e59826f763dcd45f7b6b9b150327b22e64332bb9 100644
(file)
--- a/
services/crunch-dispatch-slurm/slurm.go
+++ b/
services/crunch-dispatch-slurm/slurm.go
@@
-2,7
+2,7
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-package
main
+package
dispatchslurm
import (
"fmt"
import (
"fmt"
@@
-20,13
+20,13
@@
type Slurm interface {
Renice(name string, nice int64) error
}
Renice(name string, nice int64) error
}
-type slurmCLI struct{
+type slurmCLI struct
{
runSemaphore chan bool
}
func NewSlurmCLI() *slurmCLI {
return &slurmCLI{
runSemaphore chan bool
}
func NewSlurmCLI() *slurmCLI {
return &slurmCLI{
- runSemaphore: make(chan bool, 3),
+
runSemaphore: make(chan bool, 3),
}
}
}
}