Commit 8a6020ef authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #16544 from smarterclayton/enable_log_with_tail

Auto commit by PR queue bot
parents 55246db6 2335bfa3
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment