Skip to content

Commit

Permalink
Merge pull request #679 from zacikpa/no_turbo_bool_fix
Browse files Browse the repository at this point in the history
Parse no_turbo cpu plugin option using commands.get_bool
  • Loading branch information
yarda authored Dec 11, 2024
2 parents d9293d7 + 3e98b30 commit c829fa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tuned/plugins/plugin_cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ def _instance_apply_static(self, instance):
instance.options["max_perf_pct"])
self._max_perf_pct_save = self._getset_intel_pstate_attr(
"max_perf_pct", new_value)
new_value = self._variables.expand(
instance.options["no_turbo"])
new_value = self._cmd.get_bool(self._variables.expand(
instance.options["no_turbo"]))
self._no_turbo_save = self._getset_intel_pstate_attr(
"no_turbo", new_value)

Expand Down

0 comments on commit c829fa5

Please sign in to comment.