Initial implementation: package-updater v1 #1
@@ -2587,7 +2587,6 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
"os/signal"
|
||||
"strconv"
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
@@ -2708,7 +2707,6 @@ type submitterAdapter struct {
|
||||
func (s *submitterAdapter) Submit(ctx context.Context, jobs []discovery.Job) []updater.Result {
|
||||
ctx, cancel := context.WithTimeout(ctx, s.timeout)
|
||||
defer cancel()
|
||||
_ = strconv.Itoa // silence unused-import linter for strconv in case go.sum drops it
|
||||
return s.queue.Submit(ctx, jobs)
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user