summaryrefslogtreecommitdiff
path: root/module_test
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-08-02 15:08:54 +0800
committeryangwei <[email protected]>2024-08-02 15:08:54 +0800
commit70c4179f3357653215dd9bc34a4b44ad314bcaa4 (patch)
tree5ee873243e3665c3ce861f5fc7c59d61b1455b06 /module_test
parent7d5aafea3d0eb667073f89fce53d1d0d3cc97b12 (diff)
🐞 fix(sapp metrics): adapt fieldstat3.1 & 4.6v4.3.62
Diffstat (limited to 'module_test')
-rw-r--r--module_test/src/gtest_sapp_bloom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/module_test/src/gtest_sapp_bloom.cpp b/module_test/src/gtest_sapp_bloom.cpp
index bfb10a9..841efca 100644
--- a/module_test/src/gtest_sapp_bloom.cpp
+++ b/module_test/src/gtest_sapp_bloom.cpp
@@ -64,7 +64,7 @@ static const unsigned short INIT_SPORT = 0x1234;
static const unsigned short INIT_DPORT = 0x4321;
static struct fieldstat_easy *fs4_instance;
-static struct fieldstat_tag FS4_HISGRAM_TAG = {"bm_test", TAG_INTEGER , 0};
+static struct field FS4_HISGRAM_TAG = {"bm_test", FIELD_VALUE_INTEGER , 0};
static int fs4_add_metric_id, fs4_check_true_metric_id, fs4_check_false_metric_id;
static int fs4_expand_num_metric_id, fs4_slice_new_metric_id, fs4_slice_free_metric_id;