fix: disable stdio buffering so log coloring happens normally
This commit is contained in:
@@ -26,9 +26,10 @@ func CommandDefault(appName string, num int64, process string, tail, quiet bool)
|
|||||||
n := strconv.FormatInt(num, 10)
|
n := strconv.FormatInt(num, 10)
|
||||||
|
|
||||||
_, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
|
_, err := common.CallPlugnTrigger(common.PlugnTriggerInput{
|
||||||
Args: []string{s, appName, process, t, q, n},
|
Args: []string{s, appName, process, t, q, n},
|
||||||
StreamStdio: true,
|
DisableStdioBuffer: true,
|
||||||
Trigger: "scheduler-logs",
|
StreamStdio: true,
|
||||||
|
Trigger: "scheduler-logs",
|
||||||
})
|
})
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user