fix(config): dont read cert and url if keymanager is disabled (#6091)

This commit is contained in:
Kartikeya Hegde
2024-09-27 18:50:05 +05:30
committed by GitHub
parent 8d5ad1ecc3
commit 4e875d4220
7 changed files with 44 additions and 24 deletions

View File

@ -25,7 +25,7 @@ use crate::{
#[derive(Debug, Clone)]
pub struct KeyManagerState {
pub enabled: Option<bool>,
pub enabled: bool,
pub url: String,
pub client_idle_timeout: Option<u64>,
#[cfg(feature = "km_forward_x_request_id")]