mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
fix the bad position of code comment
This commit is contained in:
parent
877ee91930
commit
bd6a071345
@ -134,9 +134,9 @@ type NodeController struct {
|
|||||||
// is just created, e.g. cluster bootstrap or node creation, we give a longer grace period.
|
// is just created, e.g. cluster bootstrap or node creation, we give a longer grace period.
|
||||||
nodeStartupGracePeriod time.Duration
|
nodeStartupGracePeriod time.Duration
|
||||||
// per Node map storing last observed Status together with a local time when it was observed.
|
// 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
|
// 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.
|
// 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
|
// Lock to access evictor workers
|
||||||
evictorLock sync.Mutex
|
evictorLock sync.Mutex
|
||||||
|
Loading…
Reference in New Issue
Block a user