Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isSingleTarget (0.14 sec)

  1. internal/config/config.go

    		candidates.Remove(paramEnvName)
    	}
    
    	isSingleTarget := SubSystemsSingleTargets.Contains(subSys)
    	if isSingleTarget && len(candidates) > 0 {
    		return Errorf("The following environment variables are unknown: %s",
    			strings.Join(candidates.ToSlice(), ", "))
    	}
    
    	if !isSingleTarget {
    		// Validate other env vars for all targets.
    		envVars := candidates.ToSlice()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top