Skip to content

Commit

Permalink
fix tailing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Vlasic committed Nov 8, 2021
1 parent a7ff4ea commit 09e30bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/controller/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func printLogs(awsClient *aws.AWS, logGroup, filter string, startTime time.Time,
if err := fetchAndPrint(startTs); err != nil {
return log.Wrap(err)
}
if tail {
if !tail {
return nil
}
for {
Expand Down

0 comments on commit 09e30bc

Please sign in to comment.