summaryrefslogtreecommitdiffstats
path: root/modules/queue/helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/queue/helper.go')
-rw-r--r--modules/queue/helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/queue/helper.go b/modules/queue/helper.go
index f1aba411a8..9ad95badeb 100644
--- a/modules/queue/helper.go
+++ b/modules/queue/helper.go
@@ -74,7 +74,7 @@ func unmarshalAs(bs []byte, exemplar interface{}) (data Data, err error) {
} else {
err = json.Unmarshal(bs, &data)
}
- return
+ return data, err
}
// assignableTo will check if provided data is assignable to the same type as the exemplar