Skip to content

Commit

Permalink
chore(task): Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettbuddin committed Aug 25, 2020
1 parent d8e3636 commit 515b0a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kv/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ func (s *Service) updateTask(ctx context.Context, tx Tx, id influxdb.ID, upd inf
}

if upd.LatestSuccess != nil {
// make sure we only update latest completed one way
// make sure we only update latest success one way
tlc := task.LatestSuccess
ulc := *upd.LatestSuccess

Expand All @@ -781,7 +781,7 @@ func (s *Service) updateTask(ctx context.Context, tx Tx, id influxdb.ID, upd inf
}

if upd.LatestFailure != nil {
// make sure we only update latest completed one way
// make sure we only update latest failure one way
tlc := task.LatestFailure
ulc := *upd.LatestFailure

Expand Down

0 comments on commit 515b0a6

Please sign in to comment.