Remove redundant error log

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2015-10-28 13:56:29 -07:00
parent a512b907cf
commit c04eb43021
1 changed files with 0 additions and 2 deletions

View File

@ -382,7 +382,6 @@ func runActionForeachMachine(actionName string, machines []*host.Host) []error {
serialChan := make(chan error)
go machineCommand(actionName, machine, serialChan)
if err := <-serialChan; err != nil {
log.Errorln(err)
errs = append(errs, err)
}
close(serialChan)
@ -393,7 +392,6 @@ func runActionForeachMachine(actionName string, machines []*host.Host) []error {
// rate limit us.
for i := 0; i < numConcurrentActions; i++ {
if err := <-errorChan; err != nil {
log.Errorln(err)
errs = append(errs, err)
}
}