Skip to content

Commit 2785da4

Browse files
committed
fixup! Multi-host support for LogServiceCollection
Change-Id: I44b1c2e192c9e86aaacb5bf0f075d3f31529c1e8
1 parent 0441b3c commit 2785da4

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

config/meson.build

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -186,18 +186,17 @@ else
186186
work_dir = '/home/root'
187187
endif
188188

189-
# Multi-host feature handling
190189
multi_comp = get_option('experimental-redfish-multi-computer-system')
191-
if multi_comp == 'enabled'
192-
cpu_log = get_option('redfish-cpu-log')
193-
cpu_log = 'disabled'
194-
warning('redfish-cpu-log option not supported with experimental-redfish-multi-computer-system option')
195-
dump_log = get_option('redfish-dump-log')
196-
dump_log = 'disabled'
197-
warning('redfish-dump-log option not supported with experimental-redfish-multi-computer-system option')
198-
host_logger = get_option('redfish-host-logger')
199-
host_logger = 'disabled'
200-
warning('redfish-host-logger option not supported with experimental-redfish-multi-computer-system option')
190+
if multi_comp.enabled()
191+
if get_option('redfish-cpu-log').enabled()
192+
error('redfish-cpu-log option not supported with experimental-redfish-multi-computer-system option')
193+
endif
194+
if get_option('redfish-dump-log').enabled()
195+
error('redfish-dump-log option not supported with experimental-redfish-multi-computer-system option')
196+
endif
197+
if get_option('redfish-host-logger').enabled()
198+
error('redfish-host-logger option not supported with experimental-redfish-multi-computer-system option')
199+
endif
201200
endif
202201

203202
configure_file(

0 commit comments

Comments
 (0)