diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/switch.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/switch.go index 1cfaacb4f..730eaea4e 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/switch.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/switch.go @@ -17,6 +17,7 @@ import ( mdc "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/clients/meshdeliveryclient" seat "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/seats/meshdelivery" "git.novox.be/novox/mesh-sdk/go/keys" + "git.novox.be/novox/mesh-sdk/go/process" ) // oldDelivery is a delivery as the old section `deliveries` kept it, as far as the switch reads it. @@ -118,7 +119,7 @@ func (h *Holder) Switch() (opened, found int, err error) { } defer func() { if err == nil { - err = h.Records.MarkSwitched(os.Getenv("MESH_FINGERPRINT")) + err = h.Records.MarkSwitched(process.ReadOwnBuild(os.Getenv).String()) } }() groups, err := h.inFlight()