Skip to content

Commit

Permalink
fix(inputs.intel_powerstat): Fix DeprecationInfo parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Alyson Deives Pereira <[email protected]>
  • Loading branch information
alysondeives committed Jan 6, 2025
1 parent 0c7c424 commit 7589a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/intel_powerstat/intel_powerstat.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (p *PowerStat) parseCPUMetrics() error {
if slices.Contains(p.CPUMetrics, cpuBusyCycles) {
config.PrintOptionValueDeprecationNotice("inputs.intel_powerstat", "cpu_metrics", cpuBusyCycles, telegraf.DeprecationInfo{
Since: "1.23.0",
RemovalIn: "1.35.0;",
RemovalIn: "1.35.0",
Notice: "'cpu_c0_state_residency' metric name should be used instead.",
})
}
Expand Down

0 comments on commit 7589a6f

Please sign in to comment.