@platformatic/watt-extra 1.12.0-alpha.1 → 1.12.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/watt.js +2 -2
- package/package.json +1 -1
package/lib/watt.js
CHANGED
|
@@ -606,7 +606,7 @@ class Watt {
|
|
|
606
606
|
#configureReginaService (runtime, app) {
|
|
607
607
|
process._rawDebug('--------INS CONFIG--------', this.#instanceConfig)
|
|
608
608
|
|
|
609
|
-
const privateIp = this.#instanceConfig?.privateIp
|
|
609
|
+
const privateIp = this.#instanceConfig?.podDetails?.privateIp
|
|
610
610
|
const port = this.#getContainerHttpPort()
|
|
611
611
|
|
|
612
612
|
if (!privateIp) {
|
|
@@ -625,7 +625,7 @@ class Watt {
|
|
|
625
625
|
#getContainerHttpPort () {
|
|
626
626
|
const defaultPort = this.#env.PLT_DEFAULT_CONTAINER_PORT
|
|
627
627
|
|
|
628
|
-
let ports = this.#instanceConfig?.ports
|
|
628
|
+
let ports = this.#instanceConfig?.podDetails?.ports
|
|
629
629
|
if (!Array.isArray(ports) || ports.length === 0) {
|
|
630
630
|
return defaultPort
|
|
631
631
|
}
|