Add per-log listen statement
This commit is contained in:
@@ -39,6 +39,11 @@ func generateEnv(yamlFile string) {
|
||||
fmt.Sprintf("--roots_pem_file=%s", rootsPemPath),
|
||||
}
|
||||
|
||||
// Add http_endpoint if Listen is specified
|
||||
if logEntry.Listen != "" {
|
||||
args = append(args, fmt.Sprintf("--http_endpoint=%s", logEntry.Listen))
|
||||
}
|
||||
|
||||
tesseractArgs := strings.Join(args, " ")
|
||||
envContent := fmt.Sprintf("TESSERACT_ARGS=\"%s\"\n", tesseractArgs)
|
||||
|
||||
|
Reference in New Issue
Block a user