bneradt commented on PR #14016:
URL: https://github.com/apache/trafficserver/pull/14016#issuecomment-6711355381
Many: can you please update the format of your patch by using the `format`
cmake target?
Currently, format fails due to:
```patch
diff --git a/src/api/InkAPI.cc b/src/api/InkAPI.cc
index 0c336ee6..1dabff7d 100644
--- a/src/api/InkAPI.cc
+++ b/src/api/InkAPI.cc
@@ -6890,7 +6890,8 @@ TSCacheScan(TSCont contp, TSCacheKey key, int
KB_per_second)
/************************ REC Stats API **************************/
int
-TSStatCreate(const char *the_name, TSRecordDataType the_type,
TSStatPersistence /* persist ATS_UNUSED */, TSStatSync /* sync ATS_UNUSED */)
+TSStatCreate(const char *the_name, TSRecordDataType the_type,
TSStatPersistence /* persist ATS_UNUSED */,
+ TSStatSync /* sync ATS_UNUSED */)
{
int id;
diff --git a/src/api/InkAPITest.cc b/src/api/InkAPITest.cc
index 362ff334..5f128b42 100644
--- a/src/api/InkAPITest.cc
+++ b/src/api/InkAPITest.cc
@@ -9142,7 +9142,7 @@ REGRESSION_TEST(SDK_API_TSStatCreate)(RegressionTest
*test, int /* level */, int
// Verify gauge behavior.
const char gauge_name[] = "regression.test.gauge";
- int gauge_id = TSStatCreate(gauge_name, TS_RECORDDATATYPE_INT,
TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
+ int gauge_id = TSStatCreate(gauge_name, TS_RECORDDATATYPE_INT,
TS_STAT_NON_PERSISTENT, TS_STAT_SYNC_SUM);
box.check(gauge_id != TS_ERROR, "TSStatCreate(%s) failed with %d",
gauge_name, gauge_id);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]