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