Merge pull request #51441 from wackxu/fixbadcomt
Automatic merge from submit-queue (batch tested with PRs 51441, 51356, 51460) fix the bad position of code comment **What this PR does / why we need it**: The position of code comment is wrong and move it to the right position **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ``` NONE ```
This commit is contained in:
		| @@ -134,10 +134,10 @@ 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 | ||||||
| 	// workers that evicts pods from unresponsive nodes. | 	// workers that evicts pods from unresponsive nodes. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Submit Queue
					Kubernetes Submit Queue