Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
Signed-off-by: ritwikranjan <[email protected]>
  • Loading branch information
ritwikranjan committed Aug 23, 2024
1 parent 54c772d commit 19d5248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func GetConfig(cfgFilename string) (*Config, error) {
if config.MetricsIntervalDuration != 0 {
config.MetricsInterval = config.MetricsIntervalDuration
} else {
config.MetricsInterval = config.MetricsInterval * time.Second
config.MetricsInterval *= time.Second
log.Print("metricsInterval is deprecated, please use metricsIntervalDuration instead")
}

Expand Down

0 comments on commit 19d5248

Please sign in to comment.