Upgrade hv-ves, reactor, protobuf and sdk versions
[dcaegen2/collectors/hv-ves.git] / sources / hv-collector-health-check / src / main / kotlin / org / onap / dcae / collectors / veshv / healthcheck / factory / HealthCheckApiServer.kt
index cff8160..c2f5e79 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * dcaegen2-collectors-veshv
  * ================================================================================
- * Copyright (C) 2018-2019 NOKIA
+ * Copyright (C) 2018-2020 NOKIA
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ class HealthCheckApiServer(private val healthState: HealthState,
         healthState().subscribe(healthDescription::set)
         HttpServer.create()
                 .tcpConfiguration {
-                    it.addressSupplier { listenAddress }
+                    it.bindAddress { listenAddress }
                             .doOnUnbound { logClose() }
                 }
                 .route { routes ->