ultravisor-beacon 0.0.9 → 0.0.10
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
CHANGED
|
@@ -832,6 +832,13 @@ class UltravisorBeaconClient
|
|
|
832
832
|
{
|
|
833
833
|
tmpWSRegPayload.BindAddresses = this._Config.BindAddresses;
|
|
834
834
|
}
|
|
835
|
+
// Shared-fs identity must be sent on the WebSocket registration path
|
|
836
|
+
// too — most beacons connect via WebSocket now and the HTTP _register
|
|
837
|
+
// payload is only used for the initial probe / fallback. Without
|
|
838
|
+
// this, the coordinator stores the beacon record with HostID=null
|
|
839
|
+
// and the reachability auto-detect can't find it as a peer.
|
|
840
|
+
tmpWSRegPayload.HostID = this._Config.HostID || libOS.hostname();
|
|
841
|
+
tmpWSRegPayload.SharedMounts = this._normalizeSharedMounts(this._Config.SharedMounts);
|
|
835
842
|
this._wsSend(tmpWSRegPayload);
|
|
836
843
|
});
|
|
837
844
|
|