mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
Config Core: Corrected Spelling
This commit is contained in:
parent
f175e63bc5
commit
82acc16a7d
@ -128,7 +128,7 @@ class LoggingConfig(dict):
|
|||||||
self['color'] = config.pop('colour_enabled', self.defaults['color']) # legacy
|
self['color'] = config.pop('colour_enabled', self.defaults['color']) # legacy
|
||||||
self['color'] = config.pop('color', self.defaults['color'])
|
self['color'] = config.pop('color', self.defaults['color'])
|
||||||
if config:
|
if config:
|
||||||
message = 'Unexpected logging configuation parameters: {}'
|
message = 'Unexpected logging configuration parameters: {}'
|
||||||
raise ValueError(message.format(bad_vals=', '.join(config.keys())))
|
raise ValueError(message.format(bad_vals=', '.join(config.keys())))
|
||||||
elif config is None:
|
elif config is None:
|
||||||
for k, v in self.defaults.iteritems():
|
for k, v in self.defaults.iteritems():
|
||||||
@ -401,7 +401,7 @@ class RuntimeParameterManager(object):
|
|||||||
"""
|
"""
|
||||||
Validate values that do not require a active device connection.
|
Validate values that do not require a active device connection.
|
||||||
This method should also pop all runtime parameters meant for this manager
|
This method should also pop all runtime parameters meant for this manager
|
||||||
from params, even if they are not beign statically validated.
|
from params, even if they are not being statically validated.
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -743,7 +743,7 @@ class RunConfiguration(Configuration):
|
|||||||
default=['FAILED', 'PARTIAL'],
|
default=['FAILED', 'PARTIAL'],
|
||||||
allowed_values=Status.values[Status.RUNNING.value:],
|
allowed_values=Status.values[Status.RUNNING.value:],
|
||||||
description='''
|
description='''
|
||||||
This is list of statuses on which a job will be cosidered to have
|
This is list of statuses on which a job will be considered to have
|
||||||
failed and will be automatically retried up to ``max_retries``
|
failed and will be automatically retried up to ``max_retries``
|
||||||
times. This defaults to ``["FAILED", "PARTIAL"]`` if not set.
|
times. This defaults to ``["FAILED", "PARTIAL"]`` if not set.
|
||||||
Possible values are::
|
Possible values are::
|
||||||
@ -758,7 +758,7 @@ class RunConfiguration(Configuration):
|
|||||||
The workload itself has failed.
|
The workload itself has failed.
|
||||||
|
|
||||||
``"ABORTED"``
|
``"ABORTED"``
|
||||||
The user interupted the workload
|
The user interrupted the workload
|
||||||
''',
|
''',
|
||||||
),
|
),
|
||||||
ConfigurationPoint(
|
ConfigurationPoint(
|
||||||
@ -799,7 +799,7 @@ class RunConfiguration(Configuration):
|
|||||||
"""
|
"""
|
||||||
# pylint: disable=no-member
|
# pylint: disable=no-member
|
||||||
if self.device is None:
|
if self.device is None:
|
||||||
msg = 'Attemting to merge device config with unspecified device'
|
msg = 'Attempting to merge device config with unspecified device'
|
||||||
raise RuntimeError(msg)
|
raise RuntimeError(msg)
|
||||||
self.device_config = plugin_cache.get_plugin_config(self.device,
|
self.device_config = plugin_cache.get_plugin_config(self.device,
|
||||||
generic_name="device_config")
|
generic_name="device_config")
|
||||||
@ -1068,7 +1068,7 @@ def create_job_spec(workload_entry, sections, target_manager, plugin_cache,
|
|||||||
# PHASE 2.2: Merge global, section and workload entry "workload_parameters"
|
# PHASE 2.2: Merge global, section and workload entry "workload_parameters"
|
||||||
job_spec.merge_workload_parameters(plugin_cache)
|
job_spec.merge_workload_parameters(plugin_cache)
|
||||||
|
|
||||||
# TODO: PHASE 2.3: Validate device runtime/boot paramerers
|
# TODO: PHASE 2.3: Validate device runtime/boot parameters
|
||||||
job_spec.merge_runtime_parameters(plugin_cache, target_manager)
|
job_spec.merge_runtime_parameters(plugin_cache, target_manager)
|
||||||
target_manager.validate_runtime_parameters(job_spec.runtime_parameters)
|
target_manager.validate_runtime_parameters(job_spec.runtime_parameters)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user