remove tokio:main from download-speed example
we use proxmox_backup::tools::runtime::main already Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
f386f512d0
commit
29c55e5fc4
|
@ -59,8 +59,7 @@ async fn run() -> Result<(), Error> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::main]
|
fn main() {
|
||||||
async fn main() {
|
|
||||||
if let Err(err) = proxmox_backup::tools::runtime::main(run()) {
|
if let Err(err) = proxmox_backup::tools::runtime::main(run()) {
|
||||||
eprintln!("ERROR: {}", err);
|
eprintln!("ERROR: {}", err);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue