Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Removed commented code fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-krolik committed May 22, 2016
1 parent 3e4685d commit d6accfa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions control/strategy/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,6 @@ func (p *pool) Kill(id uint32, reason string) {

// SelectAndKill selects, kills and removes the available plugin from the pool
func (p *pool) SelectAndKill(id, reason string) {
//sp := make([]SelectablePlugin, p.Count())
//i := 0
//for _, plg := range p.plugins {
// sp[i] = plg
// i++
//}
rp, err := p.Remove(p.plugins.Values(), id)
if err != nil {
log.WithFields(log.Fields{
Expand Down

0 comments on commit d6accfa

Please sign in to comment.