Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for typecheck (0.14 sec)

  1. src/cmd/go/internal/work/exec.go

    	a.Failed = false // vet of dependency may have failed but we can still succeed
    
    	if a.Deps[0].Failed {
    		// The build of the package has failed. Skip vet check.
    		// Vet could return export data for non-typecheck errors,
    		// but we ignore it because the package cannot be compiled.
    		return nil
    	}
    
    	vcfg := a.Deps[0].vetCfg
    	if vcfg == nil {
    		// Vet config should only be missing if the build failed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    					fmt.Errorf("wildcard is not supported in selector: %q", fmt.Sprintf("%s=%s", k, v)))
    			}
    		}
    		if len(selector.Labels) == 0 {
    			warning = fmt.Errorf("workload selector specified without labels") // nolint: stylecheck
    		}
    	}
    
    	return warning, errs
    }
    
    // ValidateSidecar checks sidecar config supplied by user
    var ValidateSidecar = RegisterValidateFunc("ValidateSidecar",
    	func(cfg config.Config) (Warning, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top