mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
grid: Return rejection reason (#18834)
When rejecting incoming grid requests fill out the rejection reason and log it once. This will give more context when startup is failing. Already logged after a retry on caller.
This commit is contained in:
@@ -786,7 +786,7 @@ func (c *Connection) handleIncoming(ctx context.Context, conn net.Conn, req conn
|
||||
if debugPrint {
|
||||
fmt.Println("expected to be client side, not server side")
|
||||
}
|
||||
return errors.New("expected to be client side, not server side")
|
||||
return errors.New("grid: expected to be client side, not server side")
|
||||
}
|
||||
msg := message{
|
||||
Op: OpConnectResponse,
|
||||
|
||||
Reference in New Issue
Block a user