From bd21707fb1417c7d7c2e4f2f2f9efaa5ee85d390 Mon Sep 17 00:00:00 2001 From: Sheetal Atre Date: Mon, 26 Jun 2023 18:22:35 +0530 Subject: [PATCH] fix(daemonservice) OP-20625: fix artifactProviders PUT URL https://devopsmx.atlassian.net/browse/OP-20625 Remove "/" at end of PUT url. /v1/config/deployments/default/artifactProviders/bitbucket/enabled/ --- .../spinnaker/halyard/cli/services/v1/DaemonService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/services/v1/DaemonService.java b/halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/services/v1/DaemonService.java index 0f0ce5714a..f728d7cccb 100644 --- a/halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/services/v1/DaemonService.java +++ b/halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/services/v1/DaemonService.java @@ -245,7 +245,7 @@ DaemonTask setArtifactProvider( @Query("validate") boolean validate, @Body ArtifactProvider provider); - @PUT("/v1/config/deployments/{deploymentName}/artifactProviders/{providerName}/enabled/") + @PUT("/v1/config/deployments/{deploymentName}/artifactProviders/{providerName}/enabled") DaemonTask setArtifactProviderEnabled( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName,