From c04eb43021a07786b2e7592c7839e19d9b651d5c Mon Sep 17 00:00:00 2001 From: Nathan LeClaire Date: Wed, 28 Oct 2015 13:56:29 -0700 Subject: [PATCH] Remove redundant error log Signed-off-by: Nathan LeClaire --- commands/commands.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/commands/commands.go b/commands/commands.go index 64f6f0aecf..9508f41038 100644 --- a/commands/commands.go +++ b/commands/commands.go @@ -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) } }