diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-02-03 14:35:42 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-02-03 14:35:42 +0100 |
commit | bc149a4dd2ab66e3c3adce83d890def7e3268fc7 (patch) | |
tree | b518fab9306ac3720b4c288fcd32cd98b3bdea3e /pkg | |
parent | 4ce8b1281e69b55b6024e87f2dec06638c678f10 (diff) | |
download | podman-bc149a4dd2ab66e3c3adce83d890def7e3268fc7.tar.gz podman-bc149a4dd2ab66e3c3adce83d890def7e3268fc7.tar.bz2 podman-bc149a4dd2ab66e3c3adce83d890def7e3268fc7.zip |
bindings: attach: warn correct error
The resize warning logged the wrong error. While this does not fix
#9172, it may very well be helpful finding its root cause.
[NO TESTS NEEDED]
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/bindings/containers/attach.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/containers/attach.go b/pkg/bindings/containers/attach.go index 69ae7a32f..586cdec8c 100644 --- a/pkg/bindings/containers/attach.go +++ b/pkg/bindings/containers/attach.go @@ -348,7 +348,7 @@ func attachHandleResize(ctx, winCtx context.Context, winChange chan os.Signal, i resizeErr = ResizeContainerTTY(ctx, id, new(ResizeTTYOptions).WithHeight(h).WithWidth(w)) } if resizeErr != nil { - logrus.Warnf("failed to resize TTY: %v", err) + logrus.Warnf("failed to resize TTY: %v", resizeErr) } } } |