From f798236a3a80585d7b1003d29dad4812d86d1e9e Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 May 2024 17:17:01 +0200 Subject: [PATCH] Update helpers/redis Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> --- helpers/redis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/redis b/helpers/redis index 9d6257db3..545bb8705 100644 --- a/helpers/redis +++ b/helpers/redis @@ -35,5 +35,5 @@ ynh_redis_get_free_db() { # | arg: database - the database to erase ynh_redis_remove_db() { local db=$1 - redis-cli -n "$db" flushall + redis-cli -n "$db" flushdb }