Merge pull request #16544 from smarterclayton/enable_log_with_tail

Auto commit by PR queue bot
pull/6/head
k8s-merge-robot 2015-10-30 05:03:35 -07:00
commit 8a6020ef62
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ func (dm *DockerManager) GetContainerLogs(pod *api.Pod, containerID kubecontaine
RawTerminal: false,
}
if !logOptions.Follow && logOptions.TailLines != nil {
if logOptions.TailLines != nil {
opts.Tail = strconv.FormatInt(*logOptions.TailLines, 10)
}