mirror of https://github.com/databricks/cli.git
nit
This commit is contained in:
parent
4f961baa36
commit
8504e47917
|
@ -62,8 +62,8 @@ func (r *pipelineRunner) logErrorEvent(ctx context.Context, pipelineId string, u
|
||||||
// Note: For a 100 percent correct solution we should use the pagination token to find
|
// Note: For a 100 percent correct solution we should use the pagination token to find
|
||||||
// a last event which took place for updateId incase it's not present in the first 100 events.
|
// a last event which took place for updateId incase it's not present in the first 100 events.
|
||||||
// However the changes of the error event not being present in the last 100 events
|
// However the changes of the error event not being present in the last 100 events
|
||||||
// for the pipeline are should be very 0, and this would not be worth the additional complexity
|
// for the pipeline are should be very close 0, and this would not be worth the additional
|
||||||
// and latency cost for that extremely rare edge case
|
// complexity and latency cost for that extremely rare edge case
|
||||||
for i := 0; i < len(res.Events); i++ {
|
for i := 0; i < len(res.Events); i++ {
|
||||||
if res.Events[i].Origin.UpdateId == updateId {
|
if res.Events[i].Origin.UpdateId == updateId {
|
||||||
latestEvent = &res.Events[i]
|
latestEvent = &res.Events[i]
|
||||||
|
|
Loading…
Reference in New Issue