chore: delete code no binary or test reaches

This commit is contained in:
sam committed 2026-10-17 10:14:26 +11:00
1 parent 7986ccb3f7
commit 01acb97f96
34 files changed
+1 -1483

No files matched your search

-9
View File
@@ -19,15 +19,6 @@ type Live struct {
engine atomic.Pointer[Engine]
}
// NewLive builds the first engine from load.
func NewLive(ctx context.Context, load func(context.Context) ([]access.Policy, error), log *slog.Logger) (*Live, error) {
l := NewPending(load, log)
if err := l.Reload(ctx); err != nil {
return nil, err
}
return l, nil
}
// NewPending returns a chain whose engine refuses every request until Run or
// Reload loads the stored policies, so a process that starts before its State
// Store is closed rather than opened.