Skip to content

Commit 2cad136

Browse files
fix: interactively list Cloudchamber deployments using labels (#8201)
The `--label` arguments were ignored when listing deployments interactively.
1 parent acd42a8 commit 2cad136

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/public-groups-thank.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
fix: interactively list Cloudchamber deployments using labels

packages/wrangler/src/cloudchamber/cli/deployments.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export async function loadDeployments(
7777
image?: string;
7878
state?: string;
7979
ipv4?: string;
80+
labels?: string[];
8081
}
8182
): Promise<DeploymentV2[]> {
8283
const { start, stop } = spinner();
@@ -87,7 +88,8 @@ export async function loadDeployments(
8788
deploymentsParams?.location,
8889
deploymentsParams?.image,
8990
deploymentsParams?.state as DeploymentPlacementState | undefined,
90-
deploymentsParams?.state
91+
deploymentsParams?.state,
92+
deploymentsParams?.labels
9193
)
9294
);
9395

0 commit comments

Comments
 (0)