mirror of
https://github.com/minio/minio.git
synced 2025-02-03 18:06:00 -05:00
fix: replication check for duplicate endpoints detection with wrong route (#17474)
This commit is contained in:
parent
15911c85f6
commit
b6b68be052
@ -170,7 +170,7 @@ func checkRemoteEndpoint(ctx context.Context, epURL *url.URL) error {
|
|||||||
reqURL := &url.URL{
|
reqURL := &url.URL{
|
||||||
Scheme: epURL.Scheme,
|
Scheme: epURL.Scheme,
|
||||||
Host: epURL.Host,
|
Host: epURL.Host,
|
||||||
Path: healthCheckReadinessPath,
|
Path: healthCheckPathPrefix + healthCheckReadinessPath,
|
||||||
}
|
}
|
||||||
|
|
||||||
req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
|
req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user