summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-09-25 16:09:24 +0800
committerchenzizhan <[email protected]>2023-09-25 16:09:24 +0800
commit6a6ef0f39ea4390fc6512b573fdf5667bdfe2426 (patch)
tree5d0803fdc38fd916e141c5a2fdcb35312cf2d703 /include
parentc78044aac961318ae943d4d887e3e656eb463e99 (diff)
refactor
Diffstat (limited to 'include')
-rw-r--r--include/fieldstat/fieldstat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h
index 90cb056..3097be2 100644
--- a/include/fieldstat/fieldstat.h
+++ b/include/fieldstat/fieldstat.h
@@ -65,8 +65,7 @@ struct fieldstat *fieldstat_fork(const struct fieldstat *instance);
* the configurations will be kept as much as possible, like cells in the same cube will be kept, but the cells in different cubes will be deleted.
* @ return FS_OK or FS_ERR_NULL_HANDLER
*/
-// todo: target 改名replica
-int fieldstat_calibrate(const struct fieldstat *master, struct fieldstat *target);
+int fieldstat_calibrate(const struct fieldstat *master, struct fieldstat *replica);
/*
* @brief add an cube to this instance. Cube represents an template with a user-defined set of cells and metrics.
* @param shared_tags: tags that are shared by all cubes in this instance. This is the key of the cube. Cannot be NULL. Must be unique. shared_tags are ordered.which means that {"TAG_KEY": "123", "TAG_KEY2": "456"} and {"TAG_KEY2": "456", "TAG_KEY": "123"} are map to different cube.