add comment for skip null value

This commit is contained in:
Linh Vo 2017-07-18 11:34:24 -05:00
parent 7b7f471a18
commit ec4419ddf6

View file

@ -1694,6 +1694,7 @@ func (h *Handler) InputJSONDataParser(req map[string]interface{}, index *Index,
for _, action := range field.Actions {
frame := action.Frame
timestamp := timestampFrame[action.Frame]
// Skip input data field values that are set to null
if req[field.Name] == nil {
continue
}