Skip to content

Commit

Permalink
Fixed sunthax error
Browse files Browse the repository at this point in the history
  • Loading branch information
andsel committed Oct 23, 2024
1 parent cb91379 commit 2e90f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/lib/monitoring/monitoring.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def log_warn_if_legacy_is_enabled_and_not_allowed(settings)
allowed = settings.get_value("allow.legacy.monitoring")
legacy_monitoring_enabled = (settings.get_value("xpack.monitoring.enabled") || settings.get_value("monitoring.enabled"))
if !allowed && legacy_monitoring_enabled
logger.warn("You have enabled legacy internal monitoring. However, starting from version 9.0, this feature is deactivated and behind a feature flag. Set `allow.legacy.monitoring` to `true` to allow access to the feature.)
logger.warn("You have enabled legacy internal monitoring. However, starting from version 9.0, this feature is deactivated and behind a feature flag. Set `allow.legacy.monitoring` to `true` to allow access to the feature.")
end
end
private :log_warn_if_legacy_is_enabled_and_not_allowed
Expand Down

0 comments on commit 2e90f14

Please sign in to comment.