Refactor the multi-host salt install page.
[arvados.git] / services / crunch-dispatch-slurm / slurm.go
index 782be7d8c4e7226ced947bcd26c983ecb6b31de3..e59826f763dcd45f7b6b9b150327b22e64332bb9 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-package main
+package dispatchslurm
 
 import (
        "fmt"
@@ -20,13 +20,13 @@ type Slurm interface {
        Renice(name string, nice int64) error
 }
 
-type slurmCLI struct{
+type slurmCLI struct {
        runSemaphore chan bool
 }
 
 func NewSlurmCLI() *slurmCLI {
        return &slurmCLI{
-              runSemaphore: make(chan bool, 3),
+               runSemaphore: make(chan bool, 3),
        }
 }