File tree 2 files changed +7
-7
lines changed
src/main/kotlin/com/coder/gateway
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ enum class Source {
33
33
/* *
34
34
* Return a description of the source.
35
35
*/
36
- fun description (name : String , url : URL ): String = when (this ) {
36
+ fun description (name : String ): String = when (this ) {
37
37
CONFIG -> " This $name was pulled from your global CLI config."
38
- DEPLOYMENT_CONFIG -> " This $name was pulled from your CLI config for ${url.host} ."
39
- LAST_USED -> " This last used $name for ${url.host} ."
40
- QUERY -> " This $name was pulled from the Gateway link from ${url.host} ."
41
- USER -> " The last used $name for ${url.host} ."
38
+ DEPLOYMENT_CONFIG -> " This $name was pulled from your deployment's CLI config."
39
+ LAST_USED -> " This was the last used $name ."
40
+ QUERY -> " This $name was pulled from the Gateway link."
41
+ USER -> " This was the last used $name ."
42
42
ENVIRONMENT -> " This $name was pulled from an environment variable."
43
- SETTINGS -> " This $name was pulled from your settings for Coder Gateway ."
43
+ SETTINGS -> " This $name was pulled from your settings."
44
44
}
45
45
}
46
46
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ class DialogUi(
210
210
ask(
211
211
title = " Session Token" ,
212
212
description = error
213
- ? : token?.second?.description(" token" , url )
213
+ ? : token?.second?.description(" token" )
214
214
? : " No existing token for ${url.host} found." ,
215
215
placeholder = token?.first,
216
216
link = Pair (" Session Token:" , getTokenUrl.toString()),
You can’t perform that action at this time.
0 commit comments