Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion flyte/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"fmt"
"github.com/ExpediaGroup/flyte-client/client"
"github.com/HotelsDotCom/go-logger"
"strings"
"time"
)

Expand Down Expand Up @@ -57,7 +58,9 @@ func (p pack) getNextAction() *client.Action {
if _, ok := err.(client.NotFoundError); ok {
logger.Fatal("Pack not found while polling for actions. Exiting.")
}
logger.Infof("could not take action: %s", err)
if !strings.HasSuffix(strings.TrimSpace(err.Error()), "EOF") {
logger.Infof("could not take action: %s", err)
}
}
if a == nil || err != nil {
time.Sleep(p.pollingFrequency)
Expand Down