Skip to content

Commit 059a9d5

Browse files
committed
chore: rename version property
1 parent 25421bb commit 059a9d5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/kotlin/com/coder/gateway/CoderSupportedVersions.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import org.jetbrains.annotations.PropertyKey
99
private const val BUNDLE = "version.CoderSupportedVersions"
1010

1111
object CoderSupportedVersions : DynamicBundle(BUNDLE) {
12-
val lastTestedVersion = CoderSemVer.parse(message("lastTestedCoderVersion"))
12+
val maxCompatibleCoderVersion = CoderSemVer.parse(message("maxCompatibleCoderVersion"))
1313

14-
@Suppress("SpreadOperator")
1514
@JvmStatic
15+
@Suppress("SpreadOperator")
1616
private fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any) = getMessage(key, *params)
17-
}
17+
}

src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
325325
}
326326
} else {
327327
val coderVersion = CoderSemVer.parse(coderClient.buildVersion)
328-
val testedCoderVersion = CoderSupportedVersions.lastTestedVersion
328+
val testedCoderVersion = CoderSupportedVersions.maxCompatibleCoderVersion
329329

330330
if (!testedCoderVersion.isCompatibleWith(coderVersion)) {
331331
notificationBanner.apply {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lastTestedCoderVersion=0.13.0
1+
maxCompatibleCoderVersion=0.13.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy