mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Rewritte util.* -> wait.* wherever reasonable
This commit is contained in:
@@ -22,8 +22,8 @@ import (
|
||||
|
||||
"k8s.io/kubernetes/pkg/client/cache"
|
||||
"k8s.io/kubernetes/pkg/runtime"
|
||||
"k8s.io/kubernetes/pkg/util"
|
||||
utilruntime "k8s.io/kubernetes/pkg/util/runtime"
|
||||
"k8s.io/kubernetes/pkg/util/wait"
|
||||
)
|
||||
|
||||
// Config contains all the settings for a Controller.
|
||||
@@ -94,7 +94,7 @@ func (c *Controller) Run(stopCh <-chan struct{}) {
|
||||
|
||||
r.RunUntil(stopCh)
|
||||
|
||||
util.Until(c.processLoop, time.Second, stopCh)
|
||||
wait.Until(c.processLoop, time.Second, stopCh)
|
||||
}
|
||||
|
||||
// Returns true once this controller has completed an initial resource listing
|
||||
|
||||
Reference in New Issue
Block a user