Use common.ToBool to check DOKKU_FORCE_TTY
This commit is contained in:
1 parent
f786c8c0bc
commit
63182e80e0
2 files changed
+2
-2
No files matched your search
@@ -1142,7 +1142,7 @@ func TriggerSchedulerRun(scheduler string, appName string, envCount int, args []
|
||||
Image: image,
|
||||
ImagePullSecrets: imagePullSecrets,
|
||||
ImageSourceType: imageSourceType,
|
||||
Interactive: attachToPod || os.Getenv("DOKKU_FORCE_TTY") == "true",
|
||||
Interactive: attachToPod || common.ToBool(os.Getenv("DOKKU_FORCE_TTY")),
|
||||
Labels: labels,
|
||||
Namespace: namespace,
|
||||
ProcessType: processType,
|
||||
|
||||
Reference in new issue
Block a user