The wrong function is used to create this component class. The
intention is to create a static array field class, but
create_dynamic_array_field_class is used. Change it to
create_static_array_field_class. Length 3 matches the length of the
value set in CompleteIter.__init__.
Change-Id: I69962e10c2f4b945487d7b818adcd71b460fe17b
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8327
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
dyn_array_with_len_elem_fc, length_fc=dyn_array_with_len_fc
),
),
- ("sta_array", tc.create_dynamic_array_field_class(sta_array_elem_fc)),
+ ("sta_array", tc.create_static_array_field_class(sta_array_elem_fc, 3)),
(
"option_none",
tc.create_option_without_selector_field_class(option_none_fc),