update proxmox-router to 1.3.0

no real change for PBS usage - the ApiHandler enum is marked
non_exhaustive now because it has extra values if the new (enabled by
default) "server" feature is enabled.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-09-07 09:21:41 +02:00
parent e8d199d51c
commit 916aa8a2db
2 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,7 @@ proxmox-compression = "0.1.1"
proxmox-io = "1"
proxmox-lang = "1.1"
proxmox-http = { version = "0.7", features = [ "client" ] }
proxmox-router = "1.2.4"
proxmox-router = "1.3.0"
proxmox-schema = { version = "1.3.1", features = [ "api-macro", "upid-api-impl" ] }
proxmox-time = "1"
proxmox-sys = { version = "0.4", features = [ "logrotate", "timer" ] }

View File

@ -470,6 +470,9 @@ pub(crate) async fn handle_api_request<Env: RpcEnvironment, S: 'static + BuildHa
.await
.map(|data| formatter.format_data(data, &rpcenv))
}
_ => {
bail!("Unknown API handler type");
}
};
let mut resp = match result {