From 598c20587cb31cf088bee3b3f8293aed4df9e8a9 Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Mon, 2 Nov 2020 12:48:57 +0100 Subject: [PATCH] Fix incorrect return value in runtime registry --- runtime/registry.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/registry.go b/runtime/registry.go index 7c3404b..83d17d0 100644 --- a/runtime/registry.go +++ b/runtime/registry.go @@ -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