The rest of the mesh is quiet about a machine it resolved without the excluded one's offers #200

Merged
mesh-admin merged 1 commits from fix/the-rest-of-the-mesh-is-quiet-about-a-machine-it-excluded into main 2026-10-01 18:56:33 +00:00
+6 -1
View File
@@ -325,7 +325,12 @@ func theRestOfTheMesh(ctx context.Context, inv *inventory.Inventory,
} }
got, err := catalogue.Resolve(shelf, o.assigned, o.node, theirs) got, err := catalogue.Resolve(shelf, o.assigned, o.node, theirs)
if err != nil { if err != nil {
fmt.Fprintf(os.Stderr, "%s is left out of the rest of the mesh: it does not resolve: %v\n", o.node.Name, err) // Said only for the whole-mesh view. With one machine excluded, the others are
// resolved without its offers, and one that consumes them cannot resolve here by
// design — that is not the machine being dropped, it is the view being partial.
if exclude == "" {
fmt.Fprintf(os.Stderr, "%s is left out of the rest of the mesh: it does not resolve: %v\n", o.node.Name, err)
}
continue continue
} }
held = append(held, got.Claims...) held = append(held, got.Claims...)