* removes an extra loop. The fetch tools loop does the same job * add a lot of log messages Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
11 lines
228 B
Go
11 lines
228 B
Go
package pool
|
|
|
|
import "log"
|
|
|
|
func (r *basePoolManager) log(msg string, args ...interface{}) {
|
|
msgArgs := []interface{}{
|
|
r.helper.String(),
|
|
}
|
|
msgArgs = append(msgArgs, args...)
|
|
log.Printf("[Pool mgr %s] "+msg, msgArgs...)
|
|
}
|