Format mesh-delivery-view's read.go as gofmt writes it (issue 1126, the group check's failure)
This commit is contained in:
@@ -726,13 +726,13 @@ const (
|
||||
|
||||
// CandidateRow is one placement candidate and the node's answer to it.
|
||||
type CandidateRow struct {
|
||||
Group string `json:"group"`
|
||||
Node string `json:"node"`
|
||||
Pull delivery.Head `json:"pull"`
|
||||
Revision uint64 `json:"revision"`
|
||||
Placement json.RawMessage `json:"placement,omitempty"` // the candidate value as stored
|
||||
Removes bool `json:"removes,omitempty"` // the head removes the node's file
|
||||
Answered string `json:"answered"` // same, differs, refused, stale or none
|
||||
Group string `json:"group"`
|
||||
Node string `json:"node"`
|
||||
Pull delivery.Head `json:"pull"`
|
||||
Revision uint64 `json:"revision"`
|
||||
Placement json.RawMessage `json:"placement,omitempty"` // the candidate value as stored
|
||||
Removes bool `json:"removes,omitempty"` // the head removes the node's file
|
||||
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
|
||||
// 1126, probe #532: each difference's bodies were dropped when the answer was decoded and encoded again here).
|
||||
Answer json.RawMessage `json:"answer,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user