Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for keepAllocatableCount (0.18 sec)

  1. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    	}
    
    	nodeInfo.Annotations = nodeInfoAnnotations
    	return true
    }
    
    // Returns true if and only if new maxAttachLimit doesn't require CSINode update
    func keepAllocatableCount(driverInfoSpec storagev1.CSINodeDriver, maxAttachLimit int64) bool {
    	if maxAttachLimit == 0 {
    		return driverInfoSpec.Allocatable == nil || driverInfoSpec.Allocatable.Count == nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top