Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unweighted (0.44 sec)

  1. pilot/pkg/networking/core/route/route.go

    	} else {
    		weighted := make([]*route.WeightedCluster_ClusterWeight, 0)
    		for _, dst := range in.Route {
    			if dst.Weight == 0 {
    				// Ignore 0 weighted clusters if there are other clusters in the route.
    				continue
    			}
    			destinationweight, hostname := processWeightedDestination(dst, serviceRegistry, listenerPort, hashByDestination, action)
    			weighted = append(weighted, destinationweight)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    					{
    						Destination: &networking.Destination{
    							Host:   "c-weighted.extsvc.com",
    							Subset: "v2",
    						},
    						Weight: 100,
    					},
    				},
    			},
    			{
    				Route: []*networking.HTTPRouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host:   "c-weighted.extsvc.com",
    							Subset: "v1",
    						},
    						Weight: 100,
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top