diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 433fb55c..2dbbdf78 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -33,8 +33,8 @@ jobs: - name: Start neuron run: | git submodule update --init --remote - sudo apt install -y cmake ninja-build libgtest-dev libssl-dev - sudo ./install-libs.sh -a + apt install -y cmake ninja-build libgtest-dev libssl-dev + ./install-libs.sh -a mkdir build && cd build && cmake .. && make - name: Run function test diff --git a/include/neu_plugin.h b/include/neu_plugin.h index 718cc1af..48b5a11e 100644 --- a/include/neu_plugin.h +++ b/include/neu_plugin.h @@ -91,8 +91,8 @@ neu_taggrp_config_t *neu_system_find_group_config(neu_plugin_t *plugin, neu_node_id_t node_id, const char * name); neu_taggrp_config_t *neu_system_ref_group_config(neu_plugin_t *plugin, - neu_node_id_t node_id, - const char * name); + neu_node_id_t node_id, + const char * name); // uninit vector vector_t neu_system_get_group_configs(neu_plugin_t *plugin, neu_node_id_t node_id); diff --git a/plugins/restful/handle.h b/plugins/restful/handle.h index 2dbb083f..2cdc2a1a 100644 --- a/plugins/restful/handle.h +++ b/plugins/restful/handle.h @@ -64,7 +64,7 @@ if (error_code.error != NEU_ERR_SUCCESS) { \ http_response(aio, error_code.error, result_error); \ return; \ - } \ + } \ }); \ } @@ -102,4 +102,4 @@ void neu_rest_api_handler(const struct neu_rest_handler **handlers, uint32_t * size); void neu_rest_api_cors_handler(const struct neu_rest_handler **handlers, uint32_t * size); -#endif \ No newline at end of file +#endif diff --git a/src/utils/neu_jwt.h b/src/utils/neu_jwt.h index 045ad23f..880a731f 100644 --- a/src/utils/neu_jwt.h +++ b/src/utils/neu_jwt.h @@ -25,9 +25,9 @@ extern "C" { #include -int neu_jwt_init(char *pub_key_path, char *priv_key_path); -int neu_jwt_new(char **token); -int neu_jwt_validate(char *b_token); +int neu_jwt_init(char *pub_key_path, char *priv_key_path); +int neu_jwt_new(char **token); +int neu_jwt_validate(char *b_token); void neu_jwt_destroy(); #ifdef __cplusplus }