Skip to content

Commit 502be64

Browse files
committed
apps: pass container and previous correctly for pod logs
1 parent 97a6d82 commit 502be64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/apps/apis/apps/helpers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import (
1616
// so it shouldn't be included here.
1717
func DeploymentToPodLogOptions(opts *DeploymentLogOptions) *kapi.PodLogOptions {
1818
return &kapi.PodLogOptions{
19+
Container: opts.Container,
1920
Follow: opts.Follow,
2021
SinceSeconds: opts.SinceSeconds,
2122
SinceTime: opts.SinceTime,

0 commit comments

Comments
 (0)