Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toMerge (0.05 sec)

  1. cmd/metacache-entries.go

    					}
    					toMerge = toMerge[:0]
    					best = other
    					bestIdx = otherIdx
    					continue
    				}
    				// Leave it to be resolved. Names are different.
    			}
    			if best.name > other.name {
    				toMerge = toMerge[:0]
    				best = other
    				bestIdx = otherIdx
    			}
    		}
    
    		// Merge any unmerged
    		if len(toMerge) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	defer store.runlock()
    
    	policies := newMappedPolicy(name).toSlice()
    	var toMerge []policy.Policy
    	for _, policy := range policies {
    		if policy == "" {
    			continue
    		}
    		v, ok := cache.iamPolicyDocsMap[policy]
    		if !ok {
    			return v.Policy, errNoSuchPolicy
    		}
    		toMerge = append(toMerge, v.Policy)
    	}
    	if len(toMerge) == 0 {
    		return policy.Policy{}, errNoSuchPolicy
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top