1. 修改 OUPUT_PROMETHEUS 不存在问题

This commit is contained in:
fumingwei
2020-11-16 15:31:36 +08:00
parent e50cfa9767
commit f6d1080a85

View File

@@ -2120,7 +2120,7 @@ static struct kni_field_stat_handle * fs_init(const char *profile){
FS_set_para(handle, MAX_STAT_FIELD_NUM, &value, sizeof(value));
value=1;
FS_set_para(handle, OUPUT_PROMETHEUS, &value, sizeof(value));
FS_set_para(handle, OUTPUT_PROMETHEUS, &value, sizeof(value));
fs_handle = ALLOC(struct kni_field_stat_handle, 1);
fs_handle->handle = handle;