|
@@ -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(
|