-
Kubernetes Submit Queue authored
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 ```