Clusters : port 8006 par défaut, liste des cibles jamais null

This commit is contained in:
claude Bot committed 2026-10-23 18:41:59 +02:00
1 parent 8dd2f187ee
commit ee8343c69f
5 files changed
+50 -3

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ type State struct {
// clients (empty: all). A cluster that cannot be read is reported in its
// Error field, it does not stop the others.
func Analyze(ctx context.Context, cfg *config.Config, only []string) *State {
st := &State{At: time.Now().UTC(), Kinds: cfg.Kinds, Prune: cfg.Prune, cfg: cfg, actuals: map[string][]model.Object{}}
st := &State{At: time.Now().UTC(), Kinds: cfg.Kinds, Prune: cfg.Prune, Clients: []Client{}, cfg: cfg, actuals: map[string][]model.Object{}}
var refSnap model.Snapshot
st.Reference, refSnap = read(ctx, cfg.Reference, cfg.Kinds, adapter.ReadRunning)
st.ref = refSnap.Objects