Skip to content

Commit

Permalink
Revert "adds empty time value validation"
Browse files Browse the repository at this point in the history
This reverts commit 7a77805.

Reverting since not required anymore to prevent ui breaking,
There's a workaround introduced with:
6d10ff7.
  • Loading branch information
chris-ramon committed Feb 12, 2016
1 parent 6d10ff7 commit 1ad279d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions traceapp/vis.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ func (a *App) d3timelineInner(t *appdash.Trace, depth int) ([]timelineItem, erro
}
for _, e := range events {
if e, ok := e.(appdash.TimespanEvent); ok {
// Continue to next iteration
// if e.Start() or e.End() are empty time values.
if e.Start() == (time.Time{}) || e.End() == (time.Time{}) {
continue
}
start := e.Start().UnixNano() / int64(time.Millisecond)
end := e.End().UnixNano() / int64(time.Millisecond)
ts := timelineItemTimespan{
Expand Down

0 comments on commit 1ad279d

Please sign in to comment.