Skip to content

Commit 4c94b48

Browse files
committed
fix: type missmatch
1 parent c61ea60 commit 4c94b48

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

controller-runtime/src/main/kotlin/app/simplecloud/controller/runtime/droplet/DropletRepository.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ class DropletRepository(
5757
CoroutineScope(Dispatchers.IO).launch {
5858
serverHostAttacher.attach(
5959
ServerHost(
60-
droplet.id, droplet.host, droplet.port, ServerHostServiceGrpcKt.ServerHostServiceCoroutineStub(
60+
droplet.id,
61+
droplet.host,
62+
droplet.port,
63+
droplet.properties["maximum-memory"]?.toLong() ?: 0L,
64+
ServerHostServiceGrpcKt.ServerHostServiceCoroutineStub(
6165
ServerHost.createChannel(
6266
droplet.host,
6367
droplet.port

0 commit comments

Comments
 (0)