vendor: update 'psn'

This commit is contained in:
Gyu-Ho Lee 2017-02-03 02:23:35 -08:00
parent ff4a3c54e1
commit df2eecba03
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C
2 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,7 @@ import:
- package: github.com/gyuho/dataframe
version: f9fe6fd9537b000e95362aefbcc0250679e1549b
- package: github.com/gyuho/psn
version: ab7b49dddbe2aa6039443168555ef205c5de7145
version: da252a82a09e32d16d00aa53e3d05dacc79c0dd3
- package: github.com/hashicorp/consul
version: 3da73be55c82a7f88f1dfd3ec16d267970ac8ff0
subpackages:

View File

@ -287,7 +287,9 @@ func (c *CSV) Interpolate() (cc *CSV, err error) {
}
// copy the original CSV data
cc = &(*c)
// cc = &(*c) (X)
copied := *c
cc = &copied
// find missing rows, assuming CSV is to be collected every second
if cc.MinUnixSecond == cc.MaxUnixSecond {