Format mesh-delivery-view's read.go as gofmt writes it (issue 1126, the group check's failure)
mesh/delivery merged: source.main moved to novox/mesh-delivery@4d4743d90065
mesh/delivery-group group fix/1126-shadow-bodies merged: every member is merged
mesh/check checking 289d1e8fa69a on 4d4743d90065 | novox/mesh-delivery#92 in group fix/1126-shadow-bodies

This commit is contained in:
2026-10-28 01:49:54 +01:00
parent 968b9bf2e6
commit 289d1e8fa6
@@ -726,13 +726,13 @@ const (
// CandidateRow is one placement candidate and the node's answer to it. // CandidateRow is one placement candidate and the node's answer to it.
type CandidateRow struct { type CandidateRow struct {
Group string `json:"group"` Group string `json:"group"`
Node string `json:"node"` Node string `json:"node"`
Pull delivery.Head `json:"pull"` Pull delivery.Head `json:"pull"`
Revision uint64 `json:"revision"` Revision uint64 `json:"revision"`
Placement json.RawMessage `json:"placement,omitempty"` // the candidate value as stored Placement json.RawMessage `json:"placement,omitempty"` // the candidate value as stored
Removes bool `json:"removes,omitempty"` // the head removes the node's file Removes bool `json:"removes,omitempty"` // the head removes the node's file
Answered string `json:"answered"` // same, differs, refused, stale or none Answered string `json:"answered"` // same, differs, refused, stale or none
// Answer is the node's answer as its node wrote it, whole: what this view's mesh-sdk does not know rides through (issue // Answer is the node's answer as its node wrote it, whole: what this view's mesh-sdk does not know rides through (issue
// 1126, probe #532: each difference's bodies were dropped when the answer was decoded and encoded again here). // 1126, probe #532: each difference's bodies were dropped when the answer was decoded and encoded again here).
Answer json.RawMessage `json:"answer,omitempty"` Answer json.RawMessage `json:"answer,omitempty"`