jobstate: fix doctest
This commit is contained in:
parent
a20fcab060
commit
d642802d8c
|
@ -15,7 +15,7 @@
|
|||
//! ```no_run
|
||||
//! # use anyhow::{bail, Error};
|
||||
//! # use proxmox_backup::server::TaskState;
|
||||
//! # use proxmox_backup::config::jobstate::*;
|
||||
//! # use proxmox_backup::server::jobstate::*;
|
||||
//! # fn some_code() -> TaskState { TaskState::OK { endtime: 0 } }
|
||||
//! # fn code() -> Result<(), Error> {
|
||||
//! // locks the correct file under /var/lib
|
||||
|
|
Loading…
Reference in New Issue