diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/heads.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/heads.go index 1eaa9656b..7e400fd1d 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/heads.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/heads.go @@ -16,8 +16,8 @@ import ( "time" "git.novox.be/novox/mesh-contracts/health-and-repair/go/seats/meshconditions" - "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-forge-bridge/forgemsg" seat "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-contracts/go/seats/meshdelivery" + "git.novox.be/novox/mesh-delivery/modules/mesh-delivery-forge-bridge/forgemsg" stdio "git.novox.be/novox/mesh-sdk/go" "git.novox.be/novox/mesh-sdk/go/keys" ) diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/headtools.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/headtools.go index 9af28caae..3e26a3d01 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/headtools.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/headtools.go @@ -53,7 +53,9 @@ func (h *Holder) HeadsHeld() (map[string]any, error) { } lines = append(lines, HeadLine{Repository: repository, Branch: branch, Head: v.Head, Since: timeText(&v.Since), Finding: raised[key]}) } - sort.Slice(lines, func(i, j int) bool { return headKey(lines[i].Repository, lines[i].Branch) < headKey(lines[j].Repository, lines[j].Branch) }) + sort.Slice(lines, func(i, j int) bool { + return headKey(lines[i].Repository, lines[i].Branch) < headKey(lines[j].Repository, lines[j].Branch) + }) return map[string]any{"heads": lines}, nil } diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/main.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/main.go index 62f8c4d8b..3cf879c7c 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/main.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/main.go @@ -56,7 +56,6 @@ func main() { Logf: logf, Source: kvSource{}, Owed: seatOwed{say: stdio.SeatPublish}, - // The gate says what stalled to the operator itself (issue 1275, ADR 0437 ยง9). Heads: kvHeads{}, } h.init()