From 13b32b0b109e66bea051d3d368871375fcf68874 Mon Sep 17 00:00:00 2001 From: Linh Vo Date: Thu, 22 Jun 2017 14:12:16 -0500 Subject: [PATCH] check SingleRowBool for duplicate rowID --- input_definition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input_definition.go b/input_definition.go index a24163ca6..10179ca31 100644 --- a/input_definition.go +++ b/input_definition.go @@ -107,7 +107,7 @@ func (i *InputDefinition) LoadDefinition(pb *internal.InputDefinition) error { if err := i.ValidateAction(action); err != nil { return err } - if action.RowID != 0 && action.Frame != "" { + if action.ValueDestination == SingleRowBool && action.Frame != "" { val, ok := countRowID[action.Frame] if ok && val == action.RowID { return fmt.Errorf("duplicate rowID with other field: %v", action.RowID)