Skip to content

Commit

Permalink
cli: pass container name to log options for dc
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed Jan 8, 2018
1 parent 9425ace commit 97a6d82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/oc/cli/cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func (o *OpenShiftLogsOptions) Complete(f *clientcmd.Factory, cmd *cobra.Command

case appsapi.IsResourceOrLegacy("deploymentconfig", gr):
dopts := &appsapi.DeploymentLogOptions{
Container: podLogOptions.Container,
Follow: podLogOptions.Follow,
Previous: podLogOptions.Previous,
SinceSeconds: podLogOptions.SinceSeconds,
Expand Down

0 comments on commit 97a6d82

Please sign in to comment.