Skip to content

Commit cf2983f

Browse files
committed
Make some workspace metadata properties optional
1 parent 1a898c2 commit cf2983f

File tree

6 files changed

+268
-229
lines changed

6 files changed

+268
-229
lines changed

components/ws-manager-api/core.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,11 @@ message WorkspaceMetadata {
467467
// This is primarily intended for annotating headless workspace loads.
468468
map<string, string> annotations = 4;
469469

470-
// team the workspace belongs to
471-
string team = 5;
470+
// team the workspace belongs to, if the workspace is not associated with a team, this property will be empty
471+
optional string team = 5;
472472

473-
// project the workspace belongs to
474-
string project = 6;
473+
// project the workspace belongs to, if the workspace is not associated with a project, this property will be empty
474+
optional string project = 6;
475475
}
476476

477477
// WorkspaceRuntimeInfo details the workspace's runtime, e.g. executing system, node other information

0 commit comments

Comments
 (0)