Files
kubernetes/pkg/kubectl/cmd
Kubernetes Submit Queue 5f92042610 Merge pull request #56483 from dixudx/fix_cli_attach_format
Automatic merge from submit-queue (batch tested with PRs 57127, 57011, 56754, 56601, 56483). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix bad output format for attaching pods

**What this PR does / why we need it**:
If the user wants to attach stdin, wants a TTY, and `o.In` is a terminal, `t.Raw` is set to true, which is causing bad format like #56450.

We should avoid print extra logs in `SafeFunc`. Move it outer.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #56450

**Special notes for your reviewer**:
/assign @thockin @kubernetes/sig-cli-bugs  

**Release note**:

```release-note
None
```
2017-12-17 06:26:01 -08:00
..
2017-11-20 14:49:23 -05:00
2017-10-15 18:18:13 -07:00
2017-11-20 14:49:23 -05:00
2017-08-16 12:27:36 -07:00
2017-11-21 10:22:43 -08:00
2017-11-21 10:22:43 -08:00
2017-11-20 14:49:23 -05:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-11-19 19:16:50 -05:00
2017-08-16 12:27:36 -07:00
2017-08-16 12:27:36 -07:00
2017-05-11 20:09:31 +08:00
2017-10-31 16:15:32 +08:00
2017-08-16 12:27:36 -07:00