File tree 2 files changed +4
-3
lines changed
src/main/kotlin/com/coder/gateway 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ data class WorkspaceAgent(
20
20
@SerializedName(" operating_system" ) val operatingSystem : String ,
21
21
@SerializedName(" startup_script" ) val startupScript : String? ,
22
22
@SerializedName(" directory" ) val directory : String? ,
23
+ @SerializedName(" expanded_directory" ) val expandedDirectory : String? ,
23
24
@SerializedName(" version" ) val version : String ,
24
25
@SerializedName(" apps" ) val apps : List <WorkspaceApp >,
25
26
@SerializedName(" latency" ) val derpLatency : Map <String , DERPRegion >? ,
26
27
@SerializedName(" connection_timeout_seconds" ) val connectionTimeoutSeconds : Int ,
27
- @SerializedName(" troubleshooting_url" ) val troubleshootingURL : String
28
+ @SerializedName(" troubleshooting_url" ) val troubleshootingURL : String ,
28
29
)
29
30
30
31
enum class WorkspaceAgentStatus {
@@ -44,4 +45,4 @@ enum class WorkspaceAgentStatus {
44
45
data class DERPRegion (
45
46
@SerializedName(" preferred" ) val preferred : Boolean ,
46
47
@SerializedName(" latency_ms" ) val latencyMillis : Double
47
- )
48
+ )
Original file line number Diff line number Diff line change @@ -655,7 +655,7 @@ class CoderWorkspacesStepView(val setNextButtonEnabled: (Boolean) -> Unit) : Cod
655
655
this .latestBuild.transition,
656
656
OS .from(agent.operatingSystem),
657
657
Arch .from(agent.architecture),
658
- agent.directory
658
+ agent.expandedDirectory ? : agent. directory,
659
659
)
660
660
cs.launch(Dispatchers .IO ) {
661
661
wm.templateIcon = iconDownloader.load(wm.templateIconPath, wm.name)
You can’t perform that action at this time.
0 commit comments