mirror of https://bitbucket.org/ausocean/av.git
revid: fixed build errors by updating calls to mts.MetaData.SetLocation() and mts.MetaData.SetTimeStamp()
This commit is contained in:
parent
62a2e4a09a
commit
0d6aac0247
|
@ -171,7 +171,7 @@ func (s *httpSender) extractMeta(r string) error {
|
|||
s.log(logger.Warning, pkg+"No timestamp in reply")
|
||||
} else {
|
||||
s.log(logger.Debug, fmt.Sprintf("%v got timestamp: %v", pkg, t))
|
||||
mts.SetTimeStamp(uint64(t))
|
||||
mts.MetaData.SetTimeStamp(uint64(t))
|
||||
}
|
||||
|
||||
// Extract location from reply
|
||||
|
@ -180,7 +180,7 @@ func (s *httpSender) extractMeta(r string) error {
|
|||
s.log(logger.Warning, pkg+"No location in reply")
|
||||
} else {
|
||||
s.log(logger.Debug, fmt.Sprintf("%v got location: %v", pkg, g))
|
||||
mts.SetLocation(g)
|
||||
mts.MetaData.SetLocation(g)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue