mirror of
https://github.com/fluencelabs/multi-module-example
synced 2025-03-14 17:30:50 +00:00
fix the bug with calling redis twice
This commit is contained in:
parent
2f187ca4c1
commit
3e87b1270a
@ -14,7 +14,7 @@ fn run(arg: String) -> Vec<u8> {
|
||||
redis::call(arg[REDIS_OPTION_KEYWORD.len()..].as_bytes())
|
||||
} else if arg.starts_with(SQLITE_OPTION_KEYWORD) {
|
||||
log::info!("calling sqlite");
|
||||
redis::call(arg[SQLITE_OPTION_KEYWORD.len()..].as_bytes())
|
||||
sqlite::call(arg[SQLITE_OPTION_KEYWORD.len()..].as_bytes())
|
||||
} else {
|
||||
Vec::from("unknown command")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user