mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
framework/plugin: Fix typo at suppoted_targets
Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
parent
e38b51b242
commit
23fcb2c120
@ -384,7 +384,7 @@ class TargetedPlugin(Plugin):
|
||||
|
||||
"""
|
||||
|
||||
suppoted_targets = []
|
||||
supported_targets = []
|
||||
parameters = [
|
||||
Parameter('cleanup_assets', kind=bool,
|
||||
global_alias='cleanup_assets',
|
||||
@ -398,8 +398,8 @@ class TargetedPlugin(Plugin):
|
||||
|
||||
@classmethod
|
||||
def check_compatible(cls, target):
|
||||
if cls.suppoted_targets:
|
||||
if target.os not in cls.suppoted_targets:
|
||||
if cls.supported_targets:
|
||||
if target.os not in cls.supported_targets:
|
||||
msg = 'Incompatible target OS "{}" for {}'
|
||||
raise TargetError(msg.format(target.os, cls.name))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user