Quiet down dockers new lint warnings (#6716)

* Quiet down dockers new lint warnings

Docker has recently added lint warnings to build.  This cleans up those warnings.

* Fix go lint regression
This commit is contained in:
Daniel Hiltgen
2024-09-09 17:22:20 -07:00
committed by GitHub
parent 84b84ce2db
commit 4a8069f9c4
2 changed files with 24 additions and 24 deletions

View File

@@ -274,7 +274,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
params = append(params, "--tensor-split", estimate.TensorSplit)
}
for i := range len(servers) {
for i := range servers {
dir := availableServers[servers[i]]
if dir == "" {
// Shouldn't happen