Fix formatting

This commit is contained in:
Daniel Weibel 2019-08-14 19:40:37 +02:00
parent 8d8bfc7c33
commit 4788770bf6

View file

@ -250,8 +250,8 @@ func main() {
klog.Fatalf("unable to parse flags: %v", err)
}
// if --metrics-max-age is not set, make it equal to --metrics-relist-interval
if cmd.MetricsMaxAge == 0 * time.Second {
// if --metrics-max-age is not set, make it equal to --metrics-relist-interval
if cmd.MetricsMaxAge == 0*time.Second {
cmd.MetricsMaxAge = cmd.MetricsRelistInterval
}