Skip to content

Commit

Permalink
dont mix up keys and ids
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Mar 12, 2024
1 parent ce0d554 commit 0b8b427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/scaling/localscaling/local_scaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func NewLocalScaling(portAllocator *bind.BindAllocator, controllerAddresses []*u
runners: map[model.RunnerKey]context.CancelFunc{},
portAllocator: portAllocator,
controllerAddresses: controllerAddresses,
prevRunnerSuffix: 0, // first runner will have an id of r-0001
prevRunnerSuffix: 0, // first runner will have a key of r-0001
}, nil
}

Expand Down

0 comments on commit 0b8b427

Please sign in to comment.