remove conn.close
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
This commit is contained in:
@@ -203,7 +203,6 @@ func (s *ISCSITargetDriver) Run() error {
|
|||||||
if err, ok := err.(net.Error); ok {
|
if err, ok := err.(net.Error); ok {
|
||||||
if !err.Temporary() {
|
if !err.Temporary() {
|
||||||
log.Warning("Closing connection with initiator...")
|
log.Warning("Closing connection with initiator...")
|
||||||
conn.Close()
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user