Skip to content

Commit 432d74d

Browse files
committed
agent: add feature flag to secure_mount method
This 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>
1 parent 3069398 commit 432d74d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/agent/src/cdh.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ impl CDHClient {
7474
Ok(unsealed_secret.plaintext)
7575
}
7676

77+
#[cfg(feature = "guest-pull")]
7778
pub async fn secure_mount(
7879
&self,
7980
volume_type: &str,

0 commit comments

Comments
 (0)