Skip to content

Commit 7e550ef

Browse files
author
Andrew Farries
committed
Extend WorkspaceClusterFilter in gitpod-protocol
Allow filtering by name and applicationCluster.
1 parent 4ecff99 commit 7e550ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: components/gitpod-protocol/src/workspace-cluster.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export interface WorkspaceClusterDB {
104104
*/
105105
findFiltered(predicate: DeepPartial<WorkspaceClusterFilter>): Promise<WorkspaceClusterWoTLS[]>;
106106
}
107-
export interface WorkspaceClusterFilter extends Pick<WorkspaceCluster, "state" | "govern" | "url"> {
107+
export interface WorkspaceClusterFilter
108+
extends Pick<WorkspaceCluster, "name" | "state" | "govern" | "url" | "applicationCluster"> {
108109
minScore: number;
109110
}

0 commit comments

Comments
 (0)