Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for subSystemValue (0.15 sec)

  1. internal/config/config.go

    	}
    	if !found {
    		return nil, Errorf("unknown sub-system %s", s)
    	}
    
    	targets := Targets{}
    	subSysPrefix := subSystemValue[0]
    	if len(subSystemValue) == 2 {
    		if len(subSystemValue[1]) == 0 {
    			return nil, Errorf("sub-system target '%s' cannot be empty", s)
    		}
    		kvs, ok := c[subSysPrefix][subSystemValue[1]]
    		if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. cmd/config-current.go

    	if len(subSys) == 0 {
    		return Help{KeysHelp: config.HelpSubSysMap[subSys]}, nil
    	}
    	subSystemValue := strings.SplitN(subSys, config.SubSystemSeparator, 2)
    	if len(subSystemValue) == 0 {
    		return Help{}, config.Errorf("invalid number of arguments %s", subSys)
    	}
    
    	subSys = subSystemValue[0]
    
    	subSysHelp, ok := config.HelpSubSysMap[""].Lookup(subSys)
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top