Skip to content

Commit

Permalink
Fix: allow patch disable for cluster class (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: Danil-Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev authored Jul 30, 2024
1 parent 7cd082d commit e925cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/fleet_addon_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e925cdc

Please sign in to comment.