From 0f0616ec6d4d2c76115429d1865d0aff44e78549 Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Mon, 16 Nov 2020 15:19:06 -0800 Subject: [PATCH] fix: issue where workspace label selection wasn't working. --- pkg/labels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/labels.go b/pkg/labels.go index 08c49fc..3de58aa 100644 --- a/pkg/labels.go +++ b/pkg/labels.go @@ -113,7 +113,7 @@ func (c *Client) ListAvailableLabels(query *SelectLabelsQuery) (result []*Label, // Don't select labels from Terminated workspaces. if query.Table == "workspaces" { selectLabelsBuilder = selectLabelsBuilder.Where(sq.NotEq{ - "workspaces.phase": "Terminated", + "l.phase": "Terminated", }) }