mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-05 15:06:16 +00:00
use new proxmox::tools::nodename
This commit is contained in:
parent
465990e139
commit
0c3f5449d7
@ -343,7 +343,7 @@ pub fn handle_async_api_request<Env: RpcEnvironment>(
|
||||
|
||||
fn get_index(username: Option<String>, token: Option<String>) -> Response<Body> {
|
||||
|
||||
let nodename = tools::nodename();
|
||||
let nodename = proxmox::tools::nodename();
|
||||
let username = username.unwrap_or(String::from(""));
|
||||
|
||||
let token = token.unwrap_or(String::from(""));
|
||||
|
Loading…
Reference in New Issue
Block a user