From 60c5f10af840a0e5b91efb4adbeb240475336ec0 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 13 Jun 2025 15:17:59 -0700 Subject: [PATCH] cloudapi: Fix the href of the delete response Originally it was going to include /delete/ in the path. It was removed in the openapi yaml but not in the result from deleteComposeImpl. --- internal/cloudapi/v2/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cloudapi/v2/handler.go b/internal/cloudapi/v2/handler.go index c193aa52e..3fce2bc55 100644 --- a/internal/cloudapi/v2/handler.go +++ b/internal/cloudapi/v2/handler.go @@ -353,7 +353,7 @@ func (h *apiHandlers) deleteComposeImpl(ctx echo.Context, jobId uuid.UUID) error } return ctx.JSON(http.StatusOK, ComposeDeleteStatus{ - Href: fmt.Sprintf("/api/image-builder-composer/v2/composes/delete/%v", jobId), + Href: fmt.Sprintf("/api/image-builder-composer/v2/composes/%v", jobId), Id: jobId.String(), Kind: "ComposeDeleteStatus", })