Skip to content

Commit d787e70

Browse files
committed
cli/connhelper/commandcon: remove warn logs
These were originally added in 6f61cf0, but at the time, the error wasn't returned. Now that it is, we shouldn't log _and_ return the error. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e730f6f commit d787e70

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cli/connhelper/commandconn/commandconn.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,9 @@ func (c *commandConn) Close() error {
233233
defer c.closing.Store(false)
234234

235235
if err := c.CloseRead(); err != nil {
236-
logrus.Warnf("commandConn.Close: CloseRead: %v", err)
237236
return err
238237
}
239238
if err := c.CloseWrite(); err != nil {
240-
logrus.Warnf("commandConn.Close: CloseWrite: %v", err)
241239
return err
242240
}
243241

0 commit comments

Comments
 (0)