summaryrefslogtreecommitdiff
path: root/kvmd/validators
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-04-30 01:05:25 +0300
committerDevaev Maxim <[email protected]>2019-04-30 01:05:25 +0300
commitfb9b1b555db20d3ddfa0618a7faba3ae2ec395e5 (patch)
tree9eed4095955d736c273bad9a0741c29d4e777dd7 /kvmd/validators
parent76bc1bcea68e4d53f869371e793ef72c7e2c5571 (diff)
soft of by default
Diffstat (limited to 'kvmd/validators')
-rw-r--r--kvmd/validators/kvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/kvm.py b/kvmd/validators/kvm.py
index 09bd7c2b..170c0cc9 100644
--- a/kvmd/validators/kvm.py
+++ b/kvmd/validators/kvm.py
@@ -31,7 +31,7 @@ from .basic import valid_number
# =====
def valid_atx_power_action(arg: Any) -> str:
- return check_string_in_list(arg, "ATX power action", ["on", "off", "off_soft", "reset"])
+ return check_string_in_list(arg, "ATX power action", ["on", "off", "off_hard", "reset_hard"])
def valid_atx_button(arg: Any) -> str: