use new proxmox::tools::nodename

This commit is contained in:
Dietmar Maurer
2019-08-03 17:06:23 +02:00
parent 7f66c29e5c
commit f69adc81a6
5 changed files with 5 additions and 25 deletions

View File

@ -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(""));