Skip to content

Commit

Permalink
fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
RWDai committed Nov 1, 2024
1 parent 74a606f commit 25ac855
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend/spi/spi-stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tardis = { workspace = true, features = ["reldb-postgres", "web-server"] }
serde_json = { workspace = true, features = ["preserve_order"] }
strum = { workspace = true, features = ["derive"] }
bios-sdk-invoke = { version = "0.2.0", path = "../../../frontend/sdks/invoke", features = [
"event",
"event","spi_log"
], default-features = false }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions backend/spi/spi-stats/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use crate::{
get_tardis_inst,
serv::{self, stats_record_serv},
serv::{stats_record_serv},
};
use bios_sdk_invoke::clients::{
event_client::{get_topic, mq_error, ContextHandler, SPI_RPC_TOPIC},
spi_log_client::{LogItemAddV2Req, StatsItemAddReq, StatsItemDeleteReq},
spi_log_client::{StatsItemAddReq, StatsItemDeleteReq},
};
use tardis::{
basic::{dto::TardisContext, result::TardisResult},
Expand Down
4 changes: 2 additions & 2 deletions backend/spi/spi-stats/src/serv/stats_sync_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ spi_dispatch_service! {
@init: stats_initializer::init_fun,
@dispatch: {
#[cfg(feature = "spi-pg")]
spi_constants::SPI_PG_KIND_CODE => pg::stats_pg_record_serv,
spi_constants::SPI_PG_KIND_CODE => pg::stats_pg_sync_serv,
},
@method: {
fact_record_sync(fact_key: &str) -> TardisResult<()>;
fact_col_record_sync(fact_key: &str, col_key: &str) -> TardisResult<()>;
db_config_add(add_req: StatsSyncDbConfigAddReq) -> TardisResult<()>;
db_config_add(add_req: StatsSyncDbConfigAddReq) -> TardisResult<String>;
db_config_modify(modify_req: StatsSyncDbConfigModifyReq) -> TardisResult<()>;
db_config_list() -> TardisResult<Vec<StatsSyncDbConfigInfoResp>>;
}
Expand Down

0 comments on commit 25ac855

Please sign in to comment.