Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Start streaming cloudwatch logs with a valid, recent timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
lwc committed May 13, 2021
1 parent 7a236e3 commit 73c315f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runner/cloudwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,12 @@ func (lw *logWatcher) Watch(ctx context.Context) error {
Timeout: lw.Timeout,
}

after := time.Now().Unix() * 1000

if err := waiter.Wait(ctx); err != nil {
return err
}

var after int64
var err error

pollInterval := lw.Interval
Expand Down

0 comments on commit 73c315f

Please sign in to comment.