Fix: Build StorageBackend with runtime
This commit is contained in:
parent
e78bde72c1
commit
8a2c41ea22
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ fn main() {
|
||||||
if let Some(command) = matches.subcommand_name() {
|
if let Some(command) = matches.subcommand_name() {
|
||||||
debug!("Subcommand: {}", command);
|
debug!("Subcommand: {}", command);
|
||||||
|
|
||||||
let backend = StorageBackend::new(rt.get_rtp());
|
let backend = StorageBackend::new(&rt);
|
||||||
|
|
||||||
let cmdenv = CommandEnv {
|
let cmdenv = CommandEnv {
|
||||||
rt: &rt,
|
rt: &rt,
|
||||||
|
|
Loading…
Reference in a new issue