From ad19f16639dc287601b79b5a82482da3544ee5d7 Mon Sep 17 00:00:00 2001 From: Summers Pittman Date: Wed, 10 Nov 2021 23:43:02 -0500 Subject: [PATCH] fix: fixing registry url path --- .../cloud/controllers/ServiceRegistryConnectionController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rhoas/src/main/java/com/openshift/cloud/controllers/ServiceRegistryConnectionController.java b/source/rhoas/src/main/java/com/openshift/cloud/controllers/ServiceRegistryConnectionController.java index 2b05f3c5..2c17e393 100644 --- a/source/rhoas/src/main/java/com/openshift/cloud/controllers/ServiceRegistryConnectionController.java +++ b/source/rhoas/src/main/java/com/openshift/cloud/controllers/ServiceRegistryConnectionController.java @@ -53,7 +53,7 @@ void doCreateOrUpdateResource(ServiceRegistryConnection resource, var status = resource.getStatus(); status.setMessage("Created"); status.setUpdated(Instant.now().toString()); - status.setRegistryUrl(registry.getRegistryUrl()); + status.setRegistryUrl(registry.getRegistryUrl() + "/apis/registry/v2"); status.setServiceAccountSecretName(serviceAccountSecretName); status.setMetadata( ConnectionResourcesMetadata.buildServiceMetadata(oAuthHost, oAuthRealm, oAuthTokenPath));