Skip to content

Commit af3889e

Browse files
committed
[ws-manager-mk2] Fix workspace container detection
1 parent 9dec31c commit af3889e

File tree

1 file changed

+2
-1
lines changed
  • components/ws-manager-mk2/controllers

1 file changed

+2
-1
lines changed

components/ws-manager-mk2/controllers/create.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,8 @@ func newStartWorkspaceContext(ctx context.Context, cfg *config.Configuration, ws
720720
Labels: map[string]string{
721721
"app": "gitpod",
722722
"component": "workspace",
723-
wsk8s.WorkspaceIDLabel: ws.Spec.Ownership.WorkspaceID,
723+
wsk8s.MetaIDLabel: ws.Spec.Ownership.WorkspaceID,
724+
wsk8s.WorkspaceIDLabel: ws.Name,
724725
wsk8s.OwnerLabel: ws.Spec.Ownership.Owner,
725726
wsk8s.TypeLabel: strings.ToLower(string(ws.Spec.Type)),
726727
instanceIDLabel: ws.Name,

0 commit comments

Comments
 (0)