mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Fix formatting
This commit is contained in:
parent
8d8bfc7c33
commit
4788770bf6
1 changed files with 2 additions and 2 deletions
|
|
@ -251,7 +251,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// if --metrics-max-age is not set, make it equal to --metrics-relist-interval
|
// if --metrics-max-age is not set, make it equal to --metrics-relist-interval
|
||||||
if cmd.MetricsMaxAge == 0 * time.Second {
|
if cmd.MetricsMaxAge == 0*time.Second {
|
||||||
cmd.MetricsMaxAge = cmd.MetricsRelistInterval
|
cmd.MetricsMaxAge = cmd.MetricsRelistInterval
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue