From dacaf91ab40b87c02e9feeae68cc3a213f383ffe Mon Sep 17 00:00:00 2001 From: Linh Vo Date: Tue, 5 Sep 2017 10:29:32 -0500 Subject: [PATCH] clearer comment on InputSetTimestamps --- input_definition.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/input_definition.go b/input_definition.go index 18c75f8a4..13b27bd17 100644 --- a/input_definition.go +++ b/input_definition.go @@ -371,7 +371,8 @@ func HandleAction(a Action, value interface{}, colID uint64, timestamp int64) (* } bit.RowID = uint64(v) case InputSetTimestamp: - // SetTimestamp action return nil bit because it is to set timestamp for a frame if it's defined, not for setting bit + // InputSetTimestamp action is used in the InputJSONDataParser Handler to append a timestamp to all bits in the frame. + // There are no individual rowID's to set, and the action is a no-op at this step return nil, nil default: return nil, fmt.Errorf("Unrecognized Value Destination: %s in Action", a.ValueDestination)