Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonsinth committed Jan 9, 2024
1 parent 2ff79c3 commit ac9a9d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/grpcurl/grpcurl.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ func (d *timingData) Child(title string) *timingData {
}

func (d *timingData) Done() {
if d == nil {
return
}
if d.Value == 0 {
d.Value = time.Since(d.Start)
}
Expand Down

0 comments on commit ac9a9d1

Please sign in to comment.