bump proxmox crate version
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
51697c283d
commit
6a0dc4a5bc
|
@ -29,7 +29,7 @@ pam = "0.7"
|
|||
pam-sys = "0.5"
|
||||
percent-encoding = "2.1"
|
||||
pin-utils = "0.1.0-alpha"
|
||||
proxmox = { version = "0.1.2", features = [ "sortable-macro", "api-macro" ] }
|
||||
proxmox = { version = "0.1.4", features = [ "sortable-macro", "api-macro" ] }
|
||||
#proxmox = { git = "ssh://gitolite3@proxdev.maurer-it.com/rust/proxmox", version = "0.1.2", features = [ "sortable-macro", "api-macro" ] }
|
||||
#proxmox = { path = "../proxmox/proxmox", features = [ "sortable-macro", "api-macro" ] }
|
||||
regex = "1.2"
|
||||
|
|
|
@ -42,9 +42,9 @@ Build-Depends: bash-completion,
|
|||
librust-pam-sys-0.5+default-dev,
|
||||
librust-percent-encoding-2.1+default-dev,
|
||||
librust-pin-utils-0.1.0+default-dev,
|
||||
librust-proxmox-0.1.3+default-dev,
|
||||
librust-proxmox-0.1.3+sortable-macro-dev,
|
||||
librust-proxmox-0.1.3+api-macro-dev,
|
||||
librust-proxmox-0.1.4+default-dev,
|
||||
librust-proxmox-0.1.4+sortable-macro-dev,
|
||||
librust-proxmox-0.1.4+api-macro-dev,
|
||||
librust-regex-1.2+default-dev,
|
||||
librust-rustyline-5.0.5+default-dev,
|
||||
librust-serde-1.0+default-dev,
|
||||
|
|
|
@ -62,7 +62,7 @@ impl UPID {
|
|||
|
||||
Ok(UPID {
|
||||
pid,
|
||||
pstart: procfs::PidStat::read_for_pid(nix::unistd::Pid::from_raw(pid))?.starttime,
|
||||
pstart: procfs::PidStat::read_from_pid(nix::unistd::Pid::from_raw(pid))?.starttime,
|
||||
starttime: Local::now().timestamp(),
|
||||
task_id,
|
||||
worker_type: worker_type.to_owned(),
|
||||
|
|
|
@ -37,7 +37,7 @@ lazy_static! {
|
|||
static ref WORKER_TASK_LIST: Mutex<HashMap<usize, Arc<WorkerTask>>> = Mutex::new(HashMap::new());
|
||||
|
||||
static ref MY_PID: i32 = unsafe { libc::getpid() };
|
||||
static ref MY_PID_PSTART: u64 = procfs::PidStat::read_for_pid(Pid::from_raw(*MY_PID))
|
||||
static ref MY_PID_PSTART: u64 = procfs::PidStat::read_from_pid(Pid::from_raw(*MY_PID))
|
||||
.unwrap()
|
||||
.starttime;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue