refactor: rename id_generator to snowflake
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "packet_def.h"
|
||||
#include "packet_utils.h"
|
||||
#include "session_utils.h"
|
||||
#include "id_generator.h"
|
||||
#include "snowflake.h"
|
||||
#include "stellar_stat.h"
|
||||
#include "stellar_core.h"
|
||||
#include "stellar_config.h"
|
||||
@@ -511,7 +511,7 @@ int stellar_run(int argc __attribute__((unused)), char **argv __attribute__((unu
|
||||
}
|
||||
stellar_config_print(config);
|
||||
|
||||
if (id_generator_init(&config->id_gen_opts) != 0)
|
||||
if (snowflake_id_init(&config->snowflake_opts) != 0)
|
||||
{
|
||||
STELLAR_LOG_ERROR("unable to init id generator");
|
||||
goto error_out;
|
||||
|
||||
Reference in New Issue
Block a user