Skip to content

Commit

Permalink
Merge pull request #687 from adriaan42/adriaan/fix-verify-all-device-…
Browse files Browse the repository at this point in the history
…commands

fix: expand variables in Plugin._verify_all_device_commands
  • Loading branch information
yarda authored Dec 11, 2024
2 parents eb460a1 + a7aa2ab commit 0c33999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuned/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def _verify_all_non_device_commands(self, instance, ignore_missing):
def _verify_all_device_commands(self, instance, devices, ignore_missing):
ret = True
for command in [command for command in list(self._commands.values()) if command["per_device"]]:
new_value = instance.options.get(command["name"], None)
new_value = self._variables.expand(instance.options.get(command["name"], None))
if new_value is None:
continue
for device in devices:
Expand Down

0 comments on commit 0c33999

Please sign in to comment.