Skip to content

Commit

Permalink
Update network.go
Browse files Browse the repository at this point in the history
  • Loading branch information
chandanjainn authored and jcmturner committed Jul 18, 2022
1 parent 87adc2e commit 33a7472
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions v8/client/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,7 @@ func dialSendTCP(kdcs map[int]string, b []byte) ([]byte, error) {
}
return rb, nil
}
if len(errs) > 0 {
errorString := strings.Join(errs, ",")
return nil, fmt.Errorf("error in getting a TCP connection to any of the KDCs: %v", errorString)
}
return nil, errors.New("error in getting a TCP connection to any of the KDCs")
return nil, fmt.Errorf("error sending to a KDC: %s", strings.Join(errs, "; "))
}

// sendTCP sends bytes to connection over TCP.
Expand Down

0 comments on commit 33a7472

Please sign in to comment.