mirror of https://github.com/k3s-io/k3s
Merge pull request #16544 from smarterclayton/enable_log_with_tail
Auto commit by PR queue botpull/6/head
commit
8a6020ef62
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue