Fix incorrect return value in runtime registry

This commit is contained in:
Patrick Pacher 2020-11-02 12:48:57 +01:00
parent 9c3b240825
commit 598c20587c

View file

@ -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