1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00

framework/plugin: Fix typo at suppoted_targets

Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
Metin Kaya 2023-12-20 10:03:31 +00:00 committed by Marc Bonnici
parent e38b51b242
commit 23fcb2c120

View File

@ -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))