Skip to content

Commit

Permalink
Merge pull request #9217 from vrothberg/attach-warn
Browse files Browse the repository at this point in the history
bindings: attach: warn correct error
  • Loading branch information
openshift-merge-robot authored Feb 3, 2021
2 parents 1c0d249 + bc149a4 commit 4a1614e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bindings/containers/attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 4a1614e

Please sign in to comment.