added tty flag

This commit is contained in:
Brad Rydzewski
2015-07-02 15:10:34 -07:00
committed by Dwayne Jones
parent c13685c9a3
commit 80e8b01f24
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ func DockerHostname(d *Docker) string {
// DockerTty returns true if the build
// should allocate a pseudo tty
func DockerTty(d *Docker) string {
func DockerTty(d *Docker) bool {
if d == nil {
return false
}