diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings.go index 2594b5244..da2826bbc 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings.go @@ -20,9 +20,9 @@ import ( // Module is the gate's module name, the observer of its findings. const Module = "mesh-delivery-gate" -// The scope and the kind of the finding a carried approval nobody uses is (design 47 §592). +// The scope and the kind of the finding a carried approval nobody uses is (design 47 §592, A-42: the scope the mesh already uses for the delivery's findings). const ( - FindingScope = "gate" + FindingScope = "delivery" ApprovalCarriedOpen = "approval-carried-open" ) diff --git a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings_test.go b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings_test.go index 0e1fbdba2..959b0f9b0 100644 --- a/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings_test.go +++ b/modules/mesh-delivery-gate/cmd/mesh-delivery-gate/findings_test.go @@ -93,7 +93,7 @@ func TestTheGatesApprovalCarriedOpenIsWrittenThroughItsHeldWriterAndClearedByThe t.Fatalf("held %+v", held) } for _, f := range held { - if f.Kind != ApprovalCarriedOpen || f.Scope != FindingScope || f.Observer != Module || !strings.Contains(f.Summary, head[:12]) { + if f.Kind != ApprovalCarriedOpen || f.Scope != "delivery" || f.Observer != Module || !strings.Contains(f.Summary, head[:12]) { t.Fatalf("finding %+v", f) } }