Update helpers/redis

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
This commit is contained in:
eric_G 2024-05-18 17:17:01 +02:00 committed by GitHub
parent 44840603b5
commit f798236a3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}