mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	some typo
This commit is contained in:
		@@ -296,7 +296,7 @@ func Test_AddPodToVolume_Positive_ExistingVolumeExistingNode(t *testing.T) {
 | 
			
		||||
	verifyVolumeExistsWithSpecNameInVolumeAsw(t, podName, volumeSpec.Name(), asw)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Calls AddPodToVolume() to add pod to empty data stuct
 | 
			
		||||
// Calls AddPodToVolume() to add pod to empty data struct
 | 
			
		||||
// Verifies call fails with "volume does not exist" error.
 | 
			
		||||
func Test_AddPodToVolume_Negative_VolumeDoesntExist(t *testing.T) {
 | 
			
		||||
	// Arrange
 | 
			
		||||
 
 | 
			
		||||
@@ -311,7 +311,7 @@ func (rc *reconciler) reconcile() {
 | 
			
		||||
// sync process tries to observe the real world by scanning all pods' volume directories from the disk.
 | 
			
		||||
// If the actual and desired state of worlds are not consistent with the observed world, it means that some
 | 
			
		||||
// mounted volumes are left out probably during kubelet restart. This process will reconstruct
 | 
			
		||||
// the volumes and udpate the actual and desired states. For the volumes that cannot support reconstruction,
 | 
			
		||||
// the volumes and update the actual and desired states. For the volumes that cannot support reconstruction,
 | 
			
		||||
// it will try to clean up the mount paths with operation executor.
 | 
			
		||||
func (rc *reconciler) sync() {
 | 
			
		||||
	defer rc.updateLastSyncTime()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user