]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix statconver command line arguments
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Jul 2018 10:43:41 +0000 (11:43 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Jul 2018 10:43:41 +0000 (11:43 +0100)
Issue: #2366

src/rspamadm/stat_convert.c

index 1dde4114d6f1fbbf91f80bf0aef3d0ff591a31b8..acbe1155078373cb204aad201ba5b23806eebe36 100644 (file)
@@ -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) {