Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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