Skip to content

Commit

Permalink
Formatting fixes and nits
Browse files Browse the repository at this point in the history
Signed-off-by: James Buckland <jbuckland@google.com>
  • Loading branch information
ambuc committed Jul 11, 2018
1 parent 911fc5d commit dbcdb72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion source/extensions/filters/http/dynamo/dynamo_utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ std::string Utility::buildPartitionStatString(const std::string& stat_prefix,
if (stats_table_prefix.size() > remaining_size) {
stats_table_prefix = stats_table_prefix.substr(0, remaining_size);
}

return fmt::format("{}{}", stats_table_prefix, stats_partition_postfix);
}

Expand Down
2 changes: 1 addition & 1 deletion test/common/stats/thread_local_store_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class StatsThreadLocalStoreTest : public testing::Test, public RawStatDataAlloca
}));

EXPECT_CALL(*this, alloc("stats.overflow"));
store_.reset(new ThreadLocalStoreImpl(options_, *this));
store_ = std::make_unique<ThreadLocalStoreImpl>(options_, *this);
store_->addSink(sink_);
}

Expand Down

0 comments on commit dbcdb72

Please sign in to comment.