clang-format

This commit is contained in:
Benjamin Sergeant 2020-05-04 17:19:25 -07:00
parent 1b30061a4d
commit 2786631e3b
5 changed files with 9 additions and 28 deletions

View File

@ -241,8 +241,7 @@ namespace ix
}
// Make a new cancellation object dealing with transfer timeout
isCancellationRequested =
makeCancellationRequestWithTimeout(args->transferTimeout, _stop);
isCancellationRequested = makeCancellationRequestWithTimeout(args->transferTimeout, _stop);
if (args->verbose)
{

View File

@ -159,14 +159,8 @@ TEST_CASE("Cobra_to_sentry_bot", "[cobra_bots]")
// Only run the bot for 3 seconds
int runtime = 3;
int64_t sentCount = cobra_to_sentry_bot(config,
channel,
filter,
position,
sentryClient,
verbose,
enableHeartbeat,
runtime);
int64_t sentCount = cobra_to_sentry_bot(
config, channel, filter, position, sentryClient, verbose, enableHeartbeat, runtime);
//
// We want at least 2 messages to be sent
//

View File

@ -96,14 +96,8 @@ TEST_CASE("Cobra_to_stdout_bot", "[cobra_bots]")
// We could try to capture the output ... not sure how.
bool fluentd = true;
int64_t sentCount = ix::cobra_to_stdout_bot(config,
channel,
filter,
position,
fluentd,
quiet,
enableHeartbeat,
runtime);
int64_t sentCount = ix::cobra_to_stdout_bot(
config, channel, filter, position, fluentd, quiet, enableHeartbeat, runtime);
//
// We want at least 2 messages to be sent
//

View File

@ -19,8 +19,8 @@
#include <ixwebsocket/IXNetSystem.h>
#include <ixwebsocket/IXSocket.h>
#include <ixwebsocket/IXUserAgent.h>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/spdlog.h>
#include <sstream>
#include <string>
@ -522,14 +522,8 @@ int main(int argc, char** argv)
else if (app.got_subcommand("cobra_subscribe"))
{
bool enableHeartbeat = true;
int64_t sentCount = ix::cobra_to_stdout_bot(cobraConfig,
channel,
filter,
position,
fluentd,
quiet,
enableHeartbeat,
runtime);
int64_t sentCount = ix::cobra_to_stdout_bot(
cobraConfig, channel, filter, position, fluentd, quiet, enableHeartbeat, runtime);
ret = (int) sentCount;
}
else if (app.got_subcommand("cobra_publish"))