File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
model-server/src/main/kotlin/org/modelix/model/server/handlers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ class KeyValueLikeModelServer(
293
293
return result
294
294
}
295
295
296
- protected suspend fun CallContext.putEntries (newEntries : Map <String , String ?>) {
296
+ private suspend fun CallContext.putEntries (newEntries : Map <String , String ?>) {
297
297
val referencedKeys: MutableSet <String > = HashSet ()
298
298
for ((key, value) in newEntries) {
299
299
checkKeyPermission(key, EPermissionType .WRITE )
@@ -395,7 +395,7 @@ class KeyValueLikeModelServer(
395
395
call.checkPermission(MODEL_SERVER_ENTRY .createInstance(key), type.toKeycloakScope())
396
396
}
397
397
398
- fun isHealthy (): Boolean {
398
+ private fun isHealthy (): Boolean {
399
399
val value = toLong(storeClient[HEALTH_KEY ]) + 1
400
400
storeClient.put(HEALTH_KEY , java.lang.Long .toString(value))
401
401
return toLong(storeClient[HEALTH_KEY ]) >= value
You can’t perform that action at this time.
0 commit comments