remove unused quiet argument of ws cobra_metrics_to_redis command

This commit is contained in:
Benjamin Sergeant 2019-10-25 14:02:56 -07:00
parent c40033b6d9
commit 91a95dc5f6
3 changed files with 2 additions and 6 deletions

View File

@ -423,7 +423,7 @@ int main(int argc, char** argv)
else if (app.got_subcommand("cobra_metrics_to_redis")) else if (app.got_subcommand("cobra_metrics_to_redis"))
{ {
ret = ix::ws_cobra_metrics_to_redis( ret = ix::ws_cobra_metrics_to_redis(
appkey, endpoint, rolename, rolesecret, channel, filter, quiet, hostname, redisPort); appkey, endpoint, rolename, rolesecret, channel, filter, hostname, redisPort);
} }
else if (app.got_subcommand("snake")) else if (app.got_subcommand("snake"))
{ {

View File

@ -122,7 +122,6 @@ namespace ix
const std::string& rolesecret, const std::string& rolesecret,
const std::string& channel, const std::string& channel,
const std::string& filter, const std::string& filter,
bool quiet,
const std::string& host, const std::string& host,
int port); int port);

View File

@ -24,7 +24,6 @@ namespace ix
const std::string& rolesecret, const std::string& rolesecret,
const std::string& channel, const std::string& channel,
const std::string& filter, const std::string& filter,
bool quiet,
const std::string& host, const std::string& host,
int port) int port)
{ {
@ -109,7 +108,6 @@ namespace ix
&filter, &filter,
&msgCount, &msgCount,
&msgPerSeconds, &msgPerSeconds,
&quiet,
&conditionVariableMutex, &conditionVariableMutex,
&condition, &condition,
&queue](ix::CobraConnectionEventType eventType, &queue](ix::CobraConnectionEventType eventType,
@ -132,8 +130,7 @@ namespace ix
conn.subscribe(channel, conn.subscribe(channel,
filter, filter,
[&quiet, [&msgPerSeconds,
&msgPerSeconds,
&msgCount, &msgCount,
&conditionVariableMutex, &conditionVariableMutex,
&condition, &condition,