mirror of
https://github.com/safing/portbase
synced 2025-09-04 03:29:59 +00:00
Merge pull request #100 from safing/fix/runtime-registry
Fix incorrect return value in runtime registry
This commit is contained in:
commit
73143e63ef
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