commit | 324337e88eefead09e9288050a9f0842715e636c | [log] [tgz] |
---|---|---|
author | Pragya Arya <pragya.arya@radisys.com> | Thu Feb 20 14:35:08 2020 +0530 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Mar 06 09:55:43 2020 -0800 |
tree | b7d192e56ff7a1c9ad55440c5ea2875d32acb2ba | |
parent | e3bd3cbc695bc248ff54aa56cf2961556029db20 [diff] [blame] |
SEBA-949 support for publishing bbsim events on kafka Change-Id: I4354cd026bbadc801e4d6d08b2f9cd3462917b4c
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.