Skip to content

Commit 97a6d82

Browse files
committed
cli: pass container name to log options for dc
1 parent 9425ace commit 97a6d82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/oc/cli/cmd/logs.go

+1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ func (o *OpenShiftLogsOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command
168168

169169
case appsapi.IsResourceOrLegacy("deploymentconfig", gr):
170170
dopts := &appsapi.DeploymentLogOptions{
171+
Container: podLogOptions.Container,
171172
Follow: podLogOptions.Follow,
172173
Previous: podLogOptions.Previous,
173174
SinceSeconds: podLogOptions.SinceSeconds,

0 commit comments

Comments
 (0)