Only a machine on the private network is named: the names follow the resolver's rule, one predicate for both (novox/hq issue 079)

This commit is contained in:
2026-09-22 01:41:13 +02:00
parent 8152665298
commit 6a64aba506
3 changed files with 63 additions and 12 deletions
+5 -1
View File
@@ -434,7 +434,11 @@ func declarationWith(ctx context.Context, open *stores, node string,
// And every machine's name, so a container can reach one. The same set that writes the
// machine's own hosts file — one reading, so a container and its machine cannot disagree
// about where another machine is.
names, err := namesInTheMesh(ctx, inv)
shelf, err := inv.Catalogue(ctx)
if err != nil {
return nil, err
}
names, err := namesInTheMesh(ctx, inv, shelf)
if err != nil {
return nil, err
}