Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EC (0.21 sec)

  1. istioctl/pkg/writer/envoy/clusters/clusters.go

    	return nil
    }
    
    func retrieveSortedEndpointClusterSlice(ec []EndpointCluster) []EndpointCluster {
    	sort.Slice(ec, func(i, j int) bool {
    		if ec[i].address == ec[j].address {
    			if ec[i].port == ec[j].port {
    				return ec[i].cluster < ec[j].cluster
    			}
    			return ec[i].port < ec[j].port
    		}
    		return ec[i].address < ec[j].address
    	})
    	return ec
    }
    
    func printFailedOutlierCheck(b bool) string {
    	if b {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  2. common/scripts/lint_copyright_banner.sh

    # limitations under the License.
    
    set -e
    
    ec=0
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" "${fn}"; then
        echo "Missing license: ${fn}"
        ec=1
      fi
    
      if ! grep -L -q -e "Copyright" "${fn}"; then
        echo "Missing copyright: ${fn}"
        ec=1
      fi
    done
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Sep 11 23:32:21 GMT 2019
    - 1.2K bytes
    - Viewed (0)
Back to top