Skip to content

Commit

Permalink
Merge pull request #17 from MOV-AI/bugfix/dp-1369-linux-cpu-plugin-fail
Browse files Browse the repository at this point in the history
DP 1369 - Fix quotes bug on telegraf.conf file
  • Loading branch information
AlexFernandes-MOVAI authored Jan 16, 2024
2 parents 1a45ebe + 79daea0 commit d13fb83
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions files/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ fi

metrics=""
if [ "$enable_plugin_cpufreq" = "true" ]; then
metrics="cpufreq"
metrics="\"cpufreq\""
fi
if [ "$enable_plugin_thermalthrottle" = "true" ]; then
if [ -n "$metrics" ]; then
metrics="\"$metrics\""
fi
metrics="${metrics},\"thermal\""
fi

Expand Down

0 comments on commit d13fb83

Please sign in to comment.