Skip to content

Commit

Permalink
in_dummy: rename timestamp properties. (start_time_*sec)
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro YAMASHITA <[email protected]>
  • Loading branch information
nokute78 authored and edsiper committed May 5, 2020
1 parent 9cb6990 commit 1773287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/in_dummy/in_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ static int configure(struct flb_dummy *ctx,
ctx->base_timestamp = NULL;
flb_time_zero(&dummy_time);

str = flb_input_get_property("dummy_sec", in);
str = flb_input_get_property("start_time_sec", in);
if (str != NULL && (val = atoi(str)) >= 0) {
dummy_time_enabled = FLB_TRUE;
dummy_time.tm.tv_sec = val;
}
str = flb_input_get_property("dummy_nsec", in);
str = flb_input_get_property("start_time_nsec", in);
if (str != NULL && (val = atoi(str)) >= 0) {
dummy_time_enabled = FLB_TRUE;
dummy_time.tm.tv_nsec = val;
Expand Down

0 comments on commit 1773287

Please sign in to comment.