From b6b68be052e2b33e6d515c0a53246126156319ea Mon Sep 17 00:00:00 2001 From: jiuker <2818723467@qq.com> Date: Wed, 21 Jun 2023 00:27:54 +0800 Subject: [PATCH] fix: replication check for duplicate endpoints detection with wrong route (#17474) --- cmd/bucket-replication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bucket-replication.go b/cmd/bucket-replication.go index 0eef43b15..d315d9d97 100644 --- a/cmd/bucket-replication.go +++ b/cmd/bucket-replication.go @@ -170,7 +170,7 @@ func checkRemoteEndpoint(ctx context.Context, epURL *url.URL) error { reqURL := &url.URL{ Scheme: epURL.Scheme, Host: epURL.Host, - Path: healthCheckReadinessPath, + Path: healthCheckPathPrefix + healthCheckReadinessPath, } req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)