From: Vsevolod Stakhov Date: Thu, 26 Jul 2018 10:43:41 +0000 (+0100) Subject: [Fix] Fix statconver command line arguments X-Git-Tag: 1.7.9~40 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a7de4519c7ac8ff2d6887465ca0baecbe739d65;p=rspamd.git [Fix] Fix statconver command line arguments Issue: #2366 --- diff --git a/src/rspamadm/stat_convert.c b/src/rspamadm/stat_convert.c index 1dde4114d..acbe11550 100644 --- a/src/rspamadm/stat_convert.c +++ b/src/rspamadm/stat_convert.c @@ -224,11 +224,11 @@ rspamadm_statconvert (gint argc, gchar **argv, const struct rspamadm_command *cm ucl_object_insert_key (obj, redis, "redis", 0, false); ucl_object_insert_key (redis, ucl_object_fromstring (redis_host), - "host", 0, false); + "servers", 0, false); if (redis_db) { ucl_object_insert_key (redis, ucl_object_fromstring (redis_db), - "db", 0, false); + "dbname", 0, false); } if (redis_password) {