summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/ipmi.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/ugpio/ipmi.py')
-rw-r--r--kvmd/plugins/ugpio/ipmi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/ugpio/ipmi.py b/kvmd/plugins/ugpio/ipmi.py
index 718c71cb..f6649d4c 100644
--- a/kvmd/plugins/ugpio/ipmi.py
+++ b/kvmd/plugins/ugpio/ipmi.py
@@ -112,7 +112,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
}
@classmethod
- def get_pin_validator(cls) -> Callable[[Any], str]:
+ def get_pin_validator(cls) -> Callable[[Any], Any]:
actions = ["0", *_OUTPUTS, "status", *_OUTPUTS.values()]
return (lambda arg: check_string_in_list(arg, "IPMI action", actions))