From 0d4ae3016d5772a835e2bc3b78c588ee42cc978f Mon Sep 17 00:00:00 2001 From: mtrefcon <tnmtechnologies@users.noreply.github.com> Date: Wed, 12 Oct 2022 18:20:58 +0200 Subject: [PATCH] fix missing return in get method in data source groups code snippet --- docs/src/main/asciidoc/redis-reference.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/redis-reference.adoc b/docs/src/main/asciidoc/redis-reference.adoc index 9503094a48da9..e2c785dbfc813 100644 --- a/docs/src/main/asciidoc/redis-reference.adoc +++ b/docs/src/main/asciidoc/redis-reference.adoc @@ -304,7 +304,7 @@ public class MyRedisService { } public Person get(String field) { - commands.hget(MY_KEY, field); // <4> + return commands.hget(MY_KEY, field); // <4> } } ----