Skip to content

Commit d0ac4a3

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

File tree

6 files changed

+244
-199
lines changed

6 files changed

+244
-199
lines changed

components/ws-manager-api/core.proto

+4-4
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)