From 0d6aac0247a79d10f1c659a334fb2c42ce6726b5 Mon Sep 17 00:00:00 2001 From: saxon Date: Fri, 11 Jan 2019 11:53:41 +1030 Subject: [PATCH] revid: fixed build errors by updating calls to mts.MetaData.SetLocation() and mts.MetaData.SetTimeStamp() --- revid/senders.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/revid/senders.go b/revid/senders.go index 5c64e982..a06762c6 100644 --- a/revid/senders.go +++ b/revid/senders.go @@ -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