issue 1841/S5: refuse the root helper's new maps act too until its client is built in
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user