issue 1841/S5: refuse the root helper's new maps act too until its client is built in

This commit is contained in:
2026-10-22 14:40:09 +02:00
parent dc703d1511
commit 71f47c3291
@@ -195,6 +195,10 @@ func (noRoot) Journal(unit string, n int) ([]string, error) {
return nil, errors.New("the root helper's client is not built in yet: no journal can be read")
}
func (noRoot) Maps() ([]Mapped, error) {
return nil, errors.New("the root helper's client is not built in yet: no process's maps can be read")
}
// Keeper is the module's process on one node.
type Keeper struct {
Node string