refactor: capture output by default
This is almost certainly the correct default for Dokku. While it's a BC break and might cause an increase in memory usage, the api is mostly internal and therefore this is safe to use.
This commit is contained in:
1 parent
047a3c00f5
commit
3c6cc68086
27 files changed
+75
-107
No files matched your search
@@ -46,9 +46,8 @@ func TriggerDockerArgsProcessDeploy(appName string) error {
|
||||
|
||||
if !hasDriverOpt {
|
||||
result, _ := common.CallExecCommand(common.ExecCommandInput{
|
||||
Command: common.DockerBin(),
|
||||
Args: []string{"system", "info", "--format", "{{ .LoggingDriver }}"},
|
||||
CaptureOutput: true,
|
||||
Command: common.DockerBin(),
|
||||
Args: []string{"system", "info", "--format", "{{ .LoggingDriver }}"},
|
||||
})
|
||||
|
||||
if !allowedDrivers[result.StdoutContents()] {
|
||||
|
||||
Reference in new issue
Block a user