diff options
author | Ed Tanous <edtanous@google.com> | 2023-05-31 22:44:26 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-06-01 00:39:00 +0300 |
commit | 6f8273e49cffdd347c223b9538558edfb05e818a (patch) | |
tree | 5f50c120c2d1f7fa96aa1ed24a81f973bc34e49f | |
parent | d5e74b807e54fe85d37f06b1fb4b633ccb058ee3 (diff) | |
download | bmcweb-6f8273e49cffdd347c223b9538558edfb05e818a.tar.xz |
Rename option and enable it by default
I jumped the gun a little on merging this. This commit moves the
health-populate option to be called redfish-health-populate
and disables it by default
Tested: Code compiles
Change-Id: I9b2ffef828ec912e011d5d82fbfeaae5fb66ff2a
Signed-off-by: Ed Tanous <edtanous@google.com>
-rw-r--r-- | config/meson.build | 2 | ||||
-rw-r--r-- | meson_options.txt | 17 |
2 files changed, 9 insertions, 10 deletions
diff --git a/config/meson.build b/config/meson.build index 6464024e05..d29d115556 100644 --- a/config/meson.build +++ b/config/meson.build @@ -13,7 +13,7 @@ conf_data.set10('BMCWEB_INSECURE_ENABLE_HTTP_PUSH_STYLE_EVENTING', insecure_push conf_data.set('MESON_INSTALL_PREFIX', get_option('prefix')) conf_data.set('HTTPS_PORT', get_option('https_port')) conf_data.set('HTTPS_PORT', get_option('https_port')) -enable_health_populate = get_option('health-populate') +enable_health_populate = get_option('redfish-health-populate') conf_data.set10('BMCWEB_ENABLE_HEALTH_POPULATE', enable_health_populate.enabled()) enable_proc_mem_status = get_option('redfish-enable-proccessor-memory-status') conf_data.set10('BMCWEB_ENABLE_PROC_MEM_STATUS', enable_proc_mem_status.enabled()) diff --git a/meson_options.txt b/meson_options.txt index 26fdecf2d4..31095007f0 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -237,6 +237,14 @@ option( ) option( + 'redfish-health-populate', + type: 'feature', + value: 'disabled', + description: '''Enables HealthPopulate and generate the Status property for + the resource. This option will be removed Q1 2024''' +) + +option( 'https_port', type: 'integer', min: 1, @@ -335,12 +343,3 @@ option( enable on production systems at this time. Other query parameters such as only are not controlled by this option.''' ) - -option( - 'health-populate', - type: 'feature', - value: 'enabled', - description: '''Enables HealthPopulate and generate the Status property for - the resource''' -) - |