@norskvideo/ctl-sdk 0.1.26 → 0.1.27
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/package.json +1 -1
- package/parsing.js +6 -0
package/package.json
CHANGED
package/parsing.js
CHANGED
|
@@ -75,6 +75,12 @@ export function parseProductsFile(raw, path) {
|
|
|
75
75
|
reg.port = entry.port;
|
|
76
76
|
if (typeof entry.containerId === "string")
|
|
77
77
|
reg.containerId = entry.containerId;
|
|
78
|
+
// Round-trips with containerId or the daemon loses where to dial: a
|
|
79
|
+
// containerised daemon records the container's own address here, and
|
|
80
|
+
// without it every later reader falls back to 127.0.0.1:<port>, which is
|
|
81
|
+
// the daemon's own loopback and answers nothing.
|
|
82
|
+
if (typeof entry.reachHost === "string")
|
|
83
|
+
reg.reachHost = entry.reachHost;
|
|
78
84
|
if (entry.license !== undefined)
|
|
79
85
|
reg.license = parseLicense(entry.license, where, path);
|
|
80
86
|
validated.push(reg);
|