From f8593eeb8e437d180b37e92e2857970fc03092ff Mon Sep 17 00:00:00 2001 From: Samuel Lijin Date: Tue, 3 Dec 2024 16:14:41 -0800 Subject: [PATCH] fix: CreateDeployment returns deployment_tag, not deployment_id (#1210) > [!IMPORTANT] > Rename `deployment_id` to `deployment_tag` in `CreateDeploymentResponse` to match API response in `api_client.rs`. > > - **Behavior**: > - Rename `deployment_id` to `deployment_tag` in `CreateDeploymentResponse` in `api_client.rs` to match API response. > - **Functions**: > - `create_deployment` in `ApiClient` now correctly handles `deployment_tag` instead of `deployment_id`. > > This description was created by [Ellipsis](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral) for 05fd646d881019a013b72b030c622fd4be2cc772. It will automatically update as commits are pushed. --- engine/cli/src/api_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/cli/src/api_client.rs b/engine/cli/src/api_client.rs index 16a70c44b..51cc4b7a1 100644 --- a/engine/cli/src/api_client.rs +++ b/engine/cli/src/api_client.rs @@ -113,7 +113,7 @@ pub struct CreateDeploymentRequest { #[derive(Debug, Deserialize)] pub struct CreateDeploymentResponse { #[allow(dead_code)] - deployment_id: String, + deployment_tag: String, } impl ApiClient {