Merge pull request #1754 from isimluk/attach-shall-not-lock-me-out

`--interactive` shall keep STDIN attached even when not explicitly set
This commit is contained in:
OpenShift Merge Robot
2018-11-04 04:06:10 -08:00
committed by GitHub

View File

@ -96,8 +96,6 @@ func runCmd(c *cli.Context) error {
inputStream = nil inputStream = nil
} }
inputStream = nil
attachTo := c.StringSlice("attach") attachTo := c.StringSlice("attach")
for _, stream := range attachTo { for _, stream := range attachTo {
switch strings.ToLower(stream) { switch strings.ToLower(stream) {