Browse code

Revert "Pass the container name to deployment config log options"

This reverts commit b413e5b3018a2fb534cecf2a253ed58eca923424.

Michal Fojtik authored on 2016/08/24 19:13:26
Showing 2 changed files
... ...
@@ -132,7 +132,6 @@ func (o *OpenShiftLogsOptions) Complete(f *clientcmd.Factory, out io.Writer, cmd
132 132
 		o.Options = bopts
133 133
 	case deployapi.Resource("deploymentconfig"):
134 134
 		dopts := &deployapi.DeploymentLogOptions{
135
-			Container:    podLogOptions.Container,
136 135
 			Follow:       podLogOptions.Follow,
137 136
 			Previous:     podLogOptions.Previous,
138 137
 			SinceSeconds: podLogOptions.SinceSeconds,
... ...
@@ -24,7 +24,6 @@ func DeploymentToPodLogOptions(opts *DeploymentLogOptions) *kapi.PodLogOptions {
24 24
 		Timestamps:   opts.Timestamps,
25 25
 		TailLines:    opts.TailLines,
26 26
 		LimitBytes:   opts.LimitBytes,
27
-		Container:    opts.Container,
28 27
 	}
29 28
 }
30 29