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:
Gerardo Viedma
2018-03-23 10:29:32 +00:00
committed by Andrea Rosa
parent 0c47dbf26d
commit 101236f7d8
2 changed files with 3 additions and 17 deletions

View File

@@ -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
}