(redis cobra bots) ws cobra metrics to redis / hostname invalid parsing

This commit is contained in:
Benjamin Sergeant 2020-06-11 08:33:36 -07:00
parent d0cd4aed5a
commit 7603d1a71b
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
# Changelog
All changes to this project will be documented in this file.
## [9.7.1] - 2020-06-11
(redis cobra bots) ws cobra metrics to redis / hostname invalid parsing
## [9.7.0] - 2020-06-11
(redis cobra bots) xadd with maxlen + fix bug in xadd client implementation and ws cobra metrics to redis command argument parsing

View File

@ -6,4 +6,4 @@
#pragma once
#define IX_WEBSOCKET_VERSION "9.7.0"
#define IX_WEBSOCKET_VERSION "9.7.1"

View File

@ -605,7 +605,7 @@ int main(int argc, char** argv)
else if (app.got_subcommand("cobra_metrics_to_redis"))
{
ix::RedisClient redisClient;
if (!redisClient.connect(redisHosts, redisPort))
if (!redisClient.connect(hostname, redisPort))
{
spdlog::error("Cannot connect to redis host {}:{}",
redisHosts, redisPort);