Skip to content

Commit

Permalink
Update the pre-commit for description
Browse files Browse the repository at this point in the history
  • Loading branch information
yanpliu authored Apr 26, 2024
1 parent 19f4812 commit bbac114
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions robottelo/utils/virtwho.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def vw_fake_conf_create(
:param fake_conf_file: Name of the fake_conf_file
:param json_file: Name of the json_file
:param is_hypervisor: Default ir True
:ruturn:
:ruturn:
"""
conf_name = fake_conf_file.split("/")[-1].split(".")[0]
file = f'{fake_conf_file}\n'
Expand All @@ -602,14 +602,8 @@ def vw_fake_conf_create(

def vw_run_option(option):
"""virt who run by option
:param option:
-d, --debug Enable debugging output
-o, --one-shot Send the list of guest IDs and exit immediately
-i INTERVAL, --interval INTERVAL
-p, --print
-c CONFIGS, --config CONFIGS
--version Display the version information
:ruturn:
:param option: -d, --debug -o, --one-shot -i INTERVAL, --interval INTERVAL -p, --print -c CONFIGS, --config CONFIGS --version
:ruturn:
"""
runcmd('systemctl stop virt-who')
runcmd('pkill -9 virt-who')
Expand Down

0 comments on commit bbac114

Please sign in to comment.