Skip to content

Commit

Permalink
cli:apply: use single-quotes in logging
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Feb 5, 2025
1 parent 1ee8637 commit 640bbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netplan_cli/cli/commands/apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def command_apply(self, run_generate=True, sync=False, exit_on_error=True, state
try:
subprocess.check_call(['udevadm', 'trigger', '--action=move', '--subsystem-match=net', '--settle'])
except subprocess.CalledProcessError as e:
logging.warning("Ignoring device trigger error: {}".format(e))
logging.warning('Ignoring device trigger error: {}'.format(e))

# apply any SR-IOV related changes, if applicable
NetplanApply.process_sriov_config(config_manager, exit_on_error)
Expand Down

0 comments on commit 640bbd8

Please sign in to comment.