VOL-4034: Per events.proto the unit of time stamp is in seconds and
the user of this library passes the raisedTs unit in seconds.
Change-Id: Ie34e299db42165fa69be80067bfe362ccd1394c1
diff --git a/VERSION b/VERSION
index 8089590..f77856a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.3.0
+4.3.1
diff --git a/pkg/events/events_proxy.go b/pkg/events/events_proxy.go
index 2301f43..ebd48ab 100644
--- a/pkg/events/events_proxy.go
+++ b/pkg/events/events_proxy.go
@@ -84,8 +84,8 @@
header.Type = eventType
header.TypeVersion = eventif.EventTypeVersion
- // raisedTs is in nanoseconds
- timestamp, err := ptypes.TimestampProto(time.Unix(0, raisedTs))
+ // raisedTs is in seconds
+ timestamp, err := ptypes.TimestampProto(time.Unix(raisedTs, 0))
if err != nil {
return nil, err
}