Use more uints
Previously we accepted int values although only uint values made sense. We adjusted this to accept uints where appropriate.
This commit is contained in:

committed by
Tobias Kantusch

parent
1c4daa99a9
commit
630a006258
@@ -57,7 +57,7 @@ func (m *NomadEnvironmentManager) CreateOrUpdate(
|
||||
if err == nil {
|
||||
if !exists {
|
||||
m.runnerManager.RegisterEnvironment(
|
||||
runner.EnvironmentId(idInt), runner.NomadJobId(id), int(request.PrewarmingPoolSize))
|
||||
runner.EnvironmentId(idInt), runner.NomadJobId(id), request.PrewarmingPoolSize)
|
||||
}
|
||||
return !exists, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user