You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2015/02/28 05:38:38 UTC
trafficserver git commit: Make sure we do not reformat RecordsConfig
entries with clang-format
Repository: trafficserver
Updated Branches:
refs/heads/master ae1b7297b -> 2ea811284
Make sure we do not reformat RecordsConfig entries with clang-format
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2ea81128
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2ea81128
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2ea81128
Branch: refs/heads/master
Commit: 2ea8112844de6e93071325c5b63d74d1e8f32c1b
Parents: ae1b729
Author: Leif Hedstrom <le...@ogre.com>
Authored: Fri Feb 27 23:38:20 2015 -0500
Committer: Leif Hedstrom <le...@ogre.com>
Committed: Fri Feb 27 23:38:20 2015 -0500
----------------------------------------------------------------------
mgmt/RecordsConfig.cc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2ea81128/mgmt/RecordsConfig.cc
----------------------------------------------------------------------
diff --git a/mgmt/RecordsConfig.cc b/mgmt/RecordsConfig.cc
index 7a3ba34..8e4eab5 100644
--- a/mgmt/RecordsConfig.cc
+++ b/mgmt/RecordsConfig.cc
@@ -35,6 +35,7 @@
// RecordsConfig
//-------------------------------------------------------------------------
+// clang-format off
static const RecordElement RecordsConfig[] =
{
//##############################################################################
@@ -1798,8 +1799,6 @@ static const RecordElement RecordsConfig[] =
,
{RECT_NODE, "proxy.node.log.bytes_lost_before_written_to_disk", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}
,
-
-
{RECT_NODE, "proxy.process.ssl.total_success_handshake_count_in", RECD_INT, "0", RECU_NULL, RR_NULL, RECC_NULL, NULL, RECA_NULL}
,
@@ -2080,6 +2079,8 @@ static const RecordElement RecordsConfig[] =
{RECT_CONFIG, "proxy.config.cache.http.compatibility.4-2-0-fixup", RECD_INT, "1", RECU_DYNAMIC, RR_NULL, RECC_NULL, NULL, RECA_NULL}
};
+// clang-format on
+
void RecordsConfigIterate(RecordElementCallback callback, void * data)
{