Skip to content

Commit

Permalink
fix: interactively list Cloudchamber deployments using labels
Browse files Browse the repository at this point in the history
The `--label` arguments were ignored when listing deployments
interactively.
  • Loading branch information
ichernetsky-cf authored and petebacondarwin committed Feb 27, 2025
1 parent 26a66d7 commit 5a4485a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/public-groups-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

fix: interactively list Cloudchamber deployments using labels
4 changes: 3 additions & 1 deletion packages/wrangler/src/cloudchamber/cli/deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export async function loadDeployments(
image?: string;
state?: string;
ipv4?: string;
labels?: string[];
}
): Promise<DeploymentV2[]> {
const { start, stop } = spinner();
Expand All @@ -87,7 +88,8 @@ export async function loadDeployments(
deploymentsParams?.location,
deploymentsParams?.image,
deploymentsParams?.state as DeploymentPlacementState | undefined,
deploymentsParams?.state
deploymentsParams?.state,
deploymentsParams?.labels
)
);

Expand Down

0 comments on commit 5a4485a

Please sign in to comment.