Skip to content

Commit fee677c

Browse files
committed
check for backend version >=0.3.116
1 parent 9d118da commit fee677c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/activation/UserActivationService.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class UserActivationService : DisposableAdaptor {
102102
if (project != null) {
103103
val about = AnalyticsService.getInstance(project).about
104104
Log.log(logger::trace, "server version {}", about.applicationVersion)
105-
if (isBackendVersion03114OrHigher(about)) {
105+
if (isBackendVersion03116OrHigher(about)) {
106106
Log.log(logger::trace, "updating user activation status from server {}", about.applicationVersion)
107107
val discoveredDataResponse = AnalyticsService.getInstance(project).discoveredData
108108
Log.log(logger::trace, "backend discovered data {}", discoveredDataResponse)
@@ -310,12 +310,12 @@ class UserActivationService : DisposableAdaptor {
310310
}
311311

312312

313-
private fun isBackendVersion03114OrHigher(about: AboutResult): Boolean {
313+
private fun isBackendVersion03116OrHigher(about: AboutResult): Boolean {
314314
if (about.applicationVersion == "unknown") {
315315
return true
316316
}
317317
val currentServerVersion = ComparableVersion(about.applicationVersion)
318-
val featureServerVersion = ComparableVersion("0.3.114")
318+
val featureServerVersion = ComparableVersion("0.3.116")
319319
return currentServerVersion.newerThan(featureServerVersion) ||
320320
currentServerVersion == featureServerVersion
321321
}

0 commit comments

Comments
 (0)