summaryrefslogtreecommitdiff
path: root/test/fs2_test.cpp
diff options
context:
space:
mode:
authorfumingwei <[email protected]>2023-03-02 21:13:36 +0800
committerfumingwei <[email protected]>2023-03-02 21:13:36 +0800
commitc789a757d8e0148e2bcae98285479faf26fd009a (patch)
tree285890883e5305c9d7070216f088b1a78ac76505 /test/fs2_test.cpp
parent3f7c636998898b5186693afa96a622db67f4e123 (diff)
feature:修改部分命名
Diffstat (limited to 'test/fs2_test.cpp')
-rw-r--r--test/fs2_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fs2_test.cpp b/test/fs2_test.cpp
index 10b0b50..32492ba 100644
--- a/test/fs2_test.cpp
+++ b/test/fs2_test.cpp
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
printf("Failed to set statsd_server!\n");
}
- ret = fieldstat_prometheus_output_enable(test_instance);
+ ret = fieldstat_set_prometheus_output(test_instance);
if(ret == -1)
{
printf("Failed to set prometheus_output_enable!\n");
@@ -159,3 +159,4 @@ int main(int argc, char *argv[])
sleep(10000);
return 0;
}
+