mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #129085 from gnufied/fix-e2e-offline-expansion
Fix volume expansion offline e2e
This commit is contained in:
		@@ -444,10 +444,12 @@ func WaitForPendingFSResizeCondition(ctx context.Context, pvc *v1.PersistentVolu
 | 
			
		||||
		if len(inProgressConditions) == 0 {
 | 
			
		||||
			return true, nil
 | 
			
		||||
		}
 | 
			
		||||
		conditionType := inProgressConditions[0].Type
 | 
			
		||||
		for _, condition := range inProgressConditions {
 | 
			
		||||
			conditionType := condition.Type
 | 
			
		||||
			if conditionType == v1.PersistentVolumeClaimFileSystemResizePending {
 | 
			
		||||
				return true, nil
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		return false, nil
 | 
			
		||||
	})
 | 
			
		||||
	if waitErr != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user