output: add condition checking for config_map
@@ -649,10 +649,12 @@ static inline int flb_output_config_map_set(struct flb_output_instance *ins,
int ret;
/* Process normal properties */
+ if (ins->config_map) {
ret = flb_config_map_set(&ins->properties, ins->config_map, context);
if (ret == -1) {
return -1;
}
+ }
/* Net properties */
if (ins->net_config_map) {
