diff --git a/src/api/fleet_addon_config.rs b/src/api/fleet_addon_config.rs index 8d26762..35eac17 100644 --- a/src/api/fleet_addon_config.rs +++ b/src/api/fleet_addon_config.rs @@ -218,7 +218,7 @@ impl FleetAddonConfig { // Check for general clusterClass patching setting. pub(crate) fn cluster_class_patch_enabled(&self) -> bool { self.spec - .cluster + .cluster_class .as_ref() .map(|c| c.patch_resource) .unwrap_or_default()