fix u2f example

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-01-13 11:29:33 +01:00 committed by Fabian Grünbichler
parent e05dd0074d
commit a5b8f9d340

View File

@ -52,7 +52,7 @@ use hyper::service::{make_service_fn, service_fn};
use hyper::{Body, Request, Response, Server};
use serde::{Deserialize, Serialize};
use serde_json::Value;
use tokio::stream::StreamExt;
use futures::stream::TryStreamExt;
use proxmox::tools::tfa::u2f;
@ -65,7 +65,7 @@ fn main() {
}
#[cfg(feature = "examples")]
#[tokio::main]
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Error> {
do_main().await
}