Skip to content

Commit b6ef9a1

Browse files
committed
impl + 2
1 parent d93d365 commit b6ef9a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/public-api-server/pkg/apiv1/workspace.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,15 +434,15 @@ func convertWorkspaceInfo(input *protocol.WorkspaceInfo) (*v1.Workspace, error)
434434
}, nil
435435
}
436436

437-
func convertIdeConfig(ideConfig *protocol.WorkspaceInstanceIDEConfig) *v1.EditorReference {
437+
func convertIdeConfig(ideConfig *protocol.WorkspaceInstanceIDEConfig) *v1.WorkspaceInstanceStatus_EditorReference {
438438
if ideConfig == nil {
439439
return nil
440440
}
441441
ideVersion := "stable"
442442
if ideConfig.UseLatest {
443443
ideVersion = "stable"
444444
}
445-
return &v1.EditorReference{
445+
return &v1.WorkspaceInstanceStatus_EditorReference{
446446
Name: ideConfig.IDE,
447447
Version: ideVersion,
448448
PreferToolbox: ideConfig.PreferToolbox,

0 commit comments

Comments
 (0)