mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-01 07:47:15 +00:00
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:
parent
6f0ea595b7
commit
cdfc9fd2d9
@ -74,6 +74,7 @@ impl CDHClient {
|
||||
Ok(unsealed_secret.plaintext)
|
||||
}
|
||||
|
||||
#[cfg(feature = "guest-pull")]
|
||||
pub async fn secure_mount(
|
||||
&self,
|
||||
volume_type: &str,
|
||||
|
Loading…
Reference in New Issue
Block a user