commit | 267218826e914c9e77a7106db2d4ba4b9fafe6f7 | [log] [tgz] |
---|---|---|
author | khenaidoo <knursimu@ciena.com> | Wed Aug 11 17:42:52 2021 -0400 |
committer | khenaidoo <knursimu@ciena.com> | Mon Oct 04 15:19:30 2021 -0400 |
tree | 67729b923f8f1edd5534c1437c38dcf90ec2954b | |
parent | 1c5053e828ce835779375900c798ad7819fe2122 [diff] [blame] |
[VOL-4290] Voltha go library updates for gRPC migration Change-Id: I1aa2774beb6b7ed7419bc45aeb53fcae8a8ecda0
diff --git a/vendor/golang.org/x/net/internal/timeseries/timeseries.go b/vendor/golang.org/x/net/internal/timeseries/timeseries.go index 685f0e7..dc5225b 100644 --- a/vendor/golang.org/x/net/internal/timeseries/timeseries.go +++ b/vendor/golang.org/x/net/internal/timeseries/timeseries.go
@@ -403,9 +403,9 @@ // Where should scanning start? if dstStart.After(srcStart) { - advance := dstStart.Sub(srcStart) / srcInterval - srcIndex += int(advance) - srcStart = srcStart.Add(advance * srcInterval) + advance := int(dstStart.Sub(srcStart) / srcInterval) + srcIndex += advance + srcStart = srcStart.Add(time.Duration(advance) * srcInterval) } // The i'th value is computed as show below.