mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Remove npm remnants (#882)
* create an Annotation map of the right size to avoid resizing * removes all references to deprecated nodepool manager
This commit is contained in:
committed by
Andrea Rosa
parent
0c47dbf26d
commit
101236f7d8
@@ -47,11 +47,11 @@ func newMockRunnerPool(rf insecureRunnerFactory, runnerAddrs []string) *mockRunn
|
||||
}
|
||||
}
|
||||
|
||||
func (npm *mockRunnerPool) Runners(call pool.RunnerCall) ([]pool.Runner, error) {
|
||||
return npm.runners, nil
|
||||
func (rp *mockRunnerPool) Runners(call pool.RunnerCall) ([]pool.Runner, error) {
|
||||
return rp.runners, nil
|
||||
}
|
||||
|
||||
func (npm *mockRunnerPool) Shutdown(context.Context) error {
|
||||
func (rp *mockRunnerPool) Shutdown(context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user