Require at least one FAULT_ID
This commit is contained in:
parent
fc443a323b
commit
e8552b471b
|
@ -538,7 +538,7 @@ def cli_cluster_fault_list(limit, format_function):
|
||||||
name="ack",
|
name="ack",
|
||||||
short_help="Acknowledge a cluster fault.",
|
short_help="Acknowledge a cluster fault.",
|
||||||
)
|
)
|
||||||
@click.argument("fault_id", nargs=-1)
|
@click.argument("fault_id", nargs=-1, required=True)
|
||||||
@connection_req
|
@connection_req
|
||||||
def cli_cluster_fault_acknowledge(fault_id):
|
def cli_cluster_fault_acknowledge(fault_id):
|
||||||
"""
|
"""
|
||||||
|
@ -575,7 +575,7 @@ def cli_cluster_fault_acknowledge_all():
|
||||||
name="delete",
|
name="delete",
|
||||||
short_help="Delete a cluster fault.",
|
short_help="Delete a cluster fault.",
|
||||||
)
|
)
|
||||||
@click.argument("fault_id", nargs=-1)
|
@click.argument("fault_id", nargs=-1, required=True)
|
||||||
@connection_req
|
@connection_req
|
||||||
def cli_cluster_fault_delete(fault_id):
|
def cli_cluster_fault_delete(fault_id):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue