src/config/network.rs: make it compatible with pve
and depend on proxmox 0.1.26
This commit is contained in:
@ -2421,7 +2421,8 @@ fn main() {
|
||||
.insert("catalog", catalog_mgmt_cli())
|
||||
.insert("task", task_mgmt_cli());
|
||||
|
||||
run_cli_command(cmd_def, Some(|future| {
|
||||
let rpcenv = CliEnvironment::new();
|
||||
run_cli_command(cmd_def, rpcenv, Some(|future| {
|
||||
proxmox_backup::tools::runtime::main(future)
|
||||
}));
|
||||
}
|
||||
|
Reference in New Issue
Block a user