config: initialize ref to storage input plugin
@@ -120,11 +120,7 @@ struct flb_config *flb_config_init()
/* Flush */
config->flush = FLB_CONFIG_FLUSH_SECS;
-#if defined FLB_HAVE_FLUSH_PTHREADS
- config->flush_method = FLB_FLUSH_PTHREADS;
-#elif defined FLB_HAVE_FLUSH_LIBCO
config->flush_method = FLB_FLUSH_LIBCO;
-#endif
config->daemon = FLB_FALSE;
config->init_time = time(NULL);
config->kernel = flb_kernel_info();
@@ -140,6 +136,7 @@ struct flb_config *flb_config_init()
config->cio = NULL;
config->storage_path = NULL;
+ config->storage_input_plugin = NULL;
#ifdef FLB_HAVE_SQLDB
mk_list_init(&config->sqldb_list);
