Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for hasConflicts (0.18 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/PotentialConflictFactory.java

                return NO_CONFLICT;
            }
            return new HasConflict(conflict.participants);
        }
    
        static PotentialConflict noConflict() {
            return NO_CONFLICT;
        }
    
        private static class HasConflict implements PotentialConflict {
    
            private final Set<ModuleIdentifier> participants;
    
            private HasConflict(Set<ModuleIdentifier> participants) {
                this.participants = participants;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pilot/pkg/config/memory/store.go

    		return "", errNotFound
    	}
    
    	rev := time.Now().String()
    	cfg.ResourceVersion = rev
    	ns[cfg.Name] = cfg
    
    	return rev, nil
    }
    
    // hasConflict checks if the two resources have a conflict, which will block Update calls
    func hasConflict(existing, replacement config.Config) bool {
    	if replacement.ResourceVersion == "" {
    		// We don't care about resource version, so just always overwrite
    		return false
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 26 01:14:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice.go

    	}
    
    	// each HTTPMatchRequest of delegate must find a superset in root.
    	// otherwise it conflicts
    	for _, subMatch := range delegate {
    		foundMatch := false
    		for _, rootMatch := range root {
    			if hasConflict(rootMatch, subMatch) {
    				log.Warnf("HTTPMatchRequests conflict: root %v, delegate %v", rootMatch, subMatch)
    				continue
    			}
    			// merge HTTPMatchRequest
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pilot/pkg/model/virtualservice_test.go

    				Gateways: []string{"ingress-gateway", "mesh"},
    			},
    			expected: true,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := hasConflict(tc.root, tc.leaf)
    			if got != tc.expected {
    				t.Errorf("got %v, expected %v", got, tc.expected)
    			}
    		})
    	}
    }
    
    // Note: this is to prevent missing merge new added HTTPRoute fields
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
Back to top