Skip to content

Commit ab5aa2d

Browse files
author
jgreat
committed
fix varable define
1 parent 988a62b commit ab5aa2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/pump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (p *LogsPump) pumpLogs(event *docker.APIEvents, backlog bool, inactivityTim
212212

213213
// RawTerminal with contianer Tty=false injects binary headers into
214214
// the log stream that show up as garbage unicode characters
215-
var rawTerminal bool = false
215+
rawTerminal := false
216216
if allowTTY && container.Config.Tty {
217217
rawTerminal = true
218218
}

0 commit comments

Comments
 (0)