Skip to content

Commit 65326d5

Browse files
csweichelroboquat
authored andcommitted
[ws-manager-api] Clean up "ExtendedUser"
after the removal of the has-user-level and has-more-resources admission constraint
1 parent 76ad6c2 commit 65326d5

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

components/server/src/workspace/workspace-starter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,6 @@ export class WorkspaceStarter {
464464
// we add additional information to the user to help with cluster selection
465465
const euser: ExtendedUser = {
466466
...user,
467-
getsMoreResources: await this.userService.userGetsMoreResources(user),
468467
};
469468

470469
// choose a cluster and start the instance

components/ws-manager-api/typescript/src/constraints.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ import { AdmissionConstraint, WorkspaceClusterWoTLS } from "@gitpod/gitpod-proto
1111
* ExtendedUser adds additional attributes to a user which are helpful
1212
* during cluster selection.
1313
*/
14-
export interface ExtendedUser extends User {
15-
level?: string;
16-
getsMoreResources?: boolean;
17-
}
14+
export interface ExtendedUser extends User {}
1815

1916
export interface WorkspaceClusterConstraintSet {
2017
name: string;

0 commit comments

Comments
 (0)