herlanS_ 3 gadi atpakaļ
vecāks
revīzija
51ed253c4d

+ 1 - 1
src/main/kotlin/co/id/datacomsolusindo/ipphonebridge/IpPhoneBridgeApplication.kt

@@ -63,7 +63,7 @@ fun main(args: Array<String>) {
 
     val command = "curl -X GET https://${System.getenv("KUBERNETES_SERVICE_HOST")}:${System.getenv("KUBERNETES_PORT_443_TCP_PORT")}/api/v1/namespaces/tm-bridge/pods/${System.getenv("HOSTNAME")}"
     val process: Process = Runtime.getRuntime().exec(command)
-    println(process.inputStream.readAllBytes())
+    println(String(process.inputStream.readAllBytes()))
 }
 
 class Client(