Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetEffectiveTemplatePath (0.26 sec)

  1. pkg/bootstrap/instance.go

    	}
    
    	ba, err := json.Marshal(i)
    	if err != nil {
    		log.Warnf("Unable to marshal %v: %v", i, err)
    		return "{}"
    	}
    
    	return string(ba)
    }
    
    // GetEffectiveTemplatePath gets the template file that should be used for bootstrap
    func GetEffectiveTemplatePath(pc *model.NodeMetaProxyConfig) string {
    	var templateFilePath string
    	switch {
    	case pc.CustomConfigFile != "":
    		templateFilePath = pc.CustomConfigFile
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top