Merge pull request #100 from safing/fix/runtime-registry

Fix incorrect return value in runtime registry
This commit is contained in:
Daniel 2020-11-02 14:09:41 +01:00 committed by GitHub
commit 73143e63ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,8 @@ func (r *Registry) Get(key string) (record.Record, error) {
return r, nil
}
}
return nil, nil
return nil, database.ErrNotFound
}
// Put stores the record m in the runtime database. Note that