Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def run(self, param, args):
# status from the hypervisor
expanded = self.str2bool(expanded)

# If the hypervisor parameter is used, check if its a valid hypervisor host
if hypervisor and not self.is_hypervisor(hypervisor):
raise ParamError(self, param = 'hypervisor', msg = f'{hypervisor} is not a valid hypervisor')
header = ['virtual machine']
Expand Down