Skip to content

Commit 1d448b8

Browse files
authored
fix: change plugin code (#751)
* fix: change plugin code * update
1 parent f9bd9d6 commit 1d448b8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ tardis = { git = "https://github.com/ideal-world/tardis.git", rev = "9c18c2a" }
7272
# "k8s",
7373
# "ext-axum",
7474
# ] }
75-
spacegate-shell = { git = "https://github.com/ideal-world/spacegate.git", branch = "dev", features = [
75+
spacegate-shell = { git = "https://github.com/ideal-world/spacegate.git", branch = "master", features = [
7676
"cache",
7777
"k8s",
7878
"ext-axum",

backend/gateways/spacegate-plugins/src/plugin/op_redis_publisher.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ pub struct RedisPublisherPlugin {
4040
}
4141

4242
impl Plugin for RedisPublisherPlugin {
43-
//FIXME fix code to kebab-case
44-
const CODE: &'static str = "op_redis_publisher";
43+
const CODE: &'static str = "op-redis-publisher";
4544

4645
fn meta() -> spacegate_shell::model::PluginMetaData {
4746
spacegate_shell::model::plugin_meta!(

0 commit comments

Comments
 (0)