[pbs-devel] applied: [PATCH proxmox-backup] pbs-config: fix unresolved link warnings by correcting the links

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Mar 17 13:55:04 CET 2025


On March 12, 2025 12:00 pm, Shannon Sterz wrote:
> otherwise creating the docs for pbs-config throws a warning
> 
> Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
> ---
>  pbs-config/src/drive.rs      | 8 ++++----
>  pbs-config/src/media_pool.rs | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/pbs-config/src/drive.rs b/pbs-config/src/drive.rs
> index 4e2befd2..a833fc8e 100644
> --- a/pbs-config/src/drive.rs
> +++ b/pbs-config/src/drive.rs
> @@ -6,10 +6,10 @@
>  //!
>  //! Drive type [`VirtualTapeDrive`] is only useful for debugging.
>  //!
> -//! [LtoTapeDrive]: crate::api2::types::LtoTapeDrive
> -//! [VirtualTapeDrive]: crate::api2::types::VirtualTapeDrive
> -//! [ScsiTapeChanger]: crate::api2::types::ScsiTapeChanger
> -//! [SectionConfig]: proxmox::api::section_config::SectionConfig
> +//! [LtoTapeDrive]: pbs_api_types::LtoTapeDrive
> +//! [VirtualTapeDrive]: pbs_api_types::VirtualTapeDrive
> +//! [ScsiTapeChanger]: pbs_api_types::ScsiTapeChanger
> +//! [SectionConfig]: proxmox_section_config::SectionConfig
>  
>  use std::collections::HashMap;
>  use std::sync::LazyLock;
> diff --git a/pbs-config/src/media_pool.rs b/pbs-config/src/media_pool.rs
> index 3bf15188..7ee91c44 100644
> --- a/pbs-config/src/media_pool.rs
> +++ b/pbs-config/src/media_pool.rs
> @@ -3,7 +3,7 @@
>  //! This configuration module is based on [`SectionConfig`], and
>  //! provides a type safe interface to store [`MediaPoolConfig`],
>  //!
> -//! [MediaPoolConfig]: crate::api2::types::MediaPoolConfig
> +//! [MediaPoolConfig]: pbs_api_types::MediaPoolConfig
>  //! [SectionConfig]: proxmox_section_config::SectionConfig
>  
>  use std::collections::HashMap;
> -- 
> 2.39.5
> 
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 
> 
> 




More information about the pbs-devel mailing list