mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix the bad position of code comment
This commit is contained in:
parent
877ee91930
commit
bd6a071345
@ -134,10 +134,10 @@ type NodeController struct {
|
||||
// is just created, e.g. cluster bootstrap or node creation, we give a longer grace period.
|
||||
nodeStartupGracePeriod time.Duration
|
||||
// per Node map storing last observed Status together with a local time when it was observed.
|
||||
nodeStatusMap map[string]nodeStatusData
|
||||
// This timestamp is to be used instead of LastProbeTime stored in Condition. We do this
|
||||
// to aviod the problem with time skew across the cluster.
|
||||
nodeStatusMap map[string]nodeStatusData
|
||||
now func() metav1.Time
|
||||
now func() metav1.Time
|
||||
// Lock to access evictor workers
|
||||
evictorLock sync.Mutex
|
||||
// workers that evicts pods from unresponsive nodes.
|
||||
|
Loading…
Reference in New Issue
Block a user