agent: add feature flag to secure_mount method

This method is not used when guest-pull is not used.
Add a flag that prevents a compile error when building with rust version > 1.84.0 and not using guest-pull

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
This commit is contained in:
Saul Paredes 2025-06-12 13:30:31 -07:00
parent 6f0ea595b7
commit cdfc9fd2d9

View File

@ -74,6 +74,7 @@ impl CDHClient {
Ok(unsealed_secret.plaintext)
}
#[cfg(feature = "guest-pull")]
pub async fn secure_mount(
&self,
volume_type: &str,