Files
kubernetes/pkg/kubectl
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-09 12:14:08 +01:00
2017-12-02 21:12:39 +08:00
2017-10-15 18:18:13 -07:00
2017-11-21 13:00:40 -08:00
2017-11-10 18:26:46 +01:00
2017-10-15 18:18:13 -07:00
2017-11-21 23:19:44 -08:00
2017-01-20 08:04:53 -05:00
2017-01-25 17:32:22 -08:00