Skip to content

Commit a8ec6d1

Browse files
committed
fix typo
1 parent c74e847 commit a8ec6d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/controllers/housekeeping/loadbalancer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ import (
99
)
1010

1111
const (
12-
syncLoadBalancerInterval = 1 * time.Minute
13-
syncLoadBalancerMinimalInternval = 5 * time.Second
12+
syncLoadBalancerInterval = 1 * time.Minute
13+
syncLoadBalancerMinimalInterval = 5 * time.Second
1414
)
1515

1616
func (h *Housekeeper) startLoadBalancerConfigSynching() {
1717
go h.ticker.Start("load balancer syncher", syncLoadBalancerInterval, h.stop, h.updateLoadBalancerConfig)
1818
}
1919

2020
func (h *Housekeeper) updateLoadBalancerConfig() error {
21-
if time.Since(h.lastLoadBalancerConfigSync) < syncLoadBalancerMinimalInternval {
21+
if time.Since(h.lastLoadBalancerConfigSync) < syncLoadBalancerMinimalInterval {
2222
return nil
2323
}
2424
nodes, err := kubernetes.GetNodes(context.Background(), h.k8sClient)

0 commit comments

Comments
 (0)