Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chdxD1 committed Jan 11, 2024
1 parent c1df816 commit 2cf2c95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions netplanner/sriov/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def config(configuration: NetplannerConfig, queue_rebind: bool = False):
)
device.set_sriov_numvfs(interface_config.virtual_function_count)
if interface_config.embedded_switch_mode is not None:
device.set_eswitch_mode(
interface_config.embedded_switch_mode.value
)
device.set_eswitch_mode(interface_config.embedded_switch_mode.value)
if not interface_config.delay_virtual_functions_rebind:
device.bind_vfs()

Expand Down

0 comments on commit 2cf2c95

Please sign in to comment.