Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for ovs-vsctl presence when using OVS with clab (fixes #1799) #1811

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

ipspace
Copy link
Owner

@ipspace ipspace commented Jan 14, 2025

No description provided.

@ipspace ipspace requested a review from jbemmel January 14, 2025 18:24
"""
has_command: figures out whether a command is available
"""
def has_command(cmd: str) -> typing.Union[bool,int,str]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-> bool:

return bool( ... )

Copy link
Collaborator

@jbemmel jbemmel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would suggest to simplify the return type

@ipspace ipspace merged commit 2c10748 into dev Jan 15, 2025
12 checks passed
@ipspace ipspace deleted the ovs-vsctl branch January 15, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants