mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix incorrect return value in runtime registry
This commit is contained in:
parent
9c3b240825
commit
598c20587c
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ func (r *Registry) Get(key string) (record.Record, error) {
|
||||||
return r, nil
|
return r, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil, nil
|
|
||||||
|
return nil, database.ErrNotFound
|
||||||
}
|
}
|
||||||
|
|
||||||
// Put stores the record m in the runtime database. Note that
|
// Put stores the record m in the runtime database. Note that
|
||||||
|
|
Loading…
Add table
Reference in a new issue