File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -186,18 +186,17 @@ else
186186 work_dir = ' /home/root'
187187endif
188188
189- # Multi-host feature handling
190189multi_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
201200endif
202201
203202configure_file (
You can’t perform that action at this time.
0 commit comments