From cf8a87e5e06b9c04cfdc96c51eebcd9e9f88af94 Mon Sep 17 00:00:00 2001 From: Will Da Silva Date: Tue, 26 Nov 2024 15:46:01 -0500 Subject: [PATCH] Fix typo `paylod` -> `payload` Signed-off-by: Will Da Silva --- plugins/out_http/http.c | 2 +- plugins/out_http/http.h | 2 +- plugins/out_opentelemetry/opentelemetry.c | 2 +- plugins/out_opentelemetry/opentelemetry.h | 2 +- plugins/out_prometheus_remote_write/remote_write.c | 2 +- plugins/out_prometheus_remote_write/remote_write.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/out_http/http.c b/plugins/out_http/http.c index 4fa3d98615d..b4a5884fa04 100644 --- a/plugins/out_http/http.c +++ b/plugins/out_http/http.c @@ -647,7 +647,7 @@ static struct flb_config_map config_map[] = { { FLB_CONFIG_MAP_BOOL, "log_response_payload", "true", 0, FLB_TRUE, offsetof(struct flb_out_http, log_response_payload), - "Specify if the response paylod should be logged or not" + "Specify if the response payload should be logged or not" }, { FLB_CONFIG_MAP_STR, "http_user", NULL, diff --git a/plugins/out_http/http.h b/plugins/out_http/http.h index ba588ac90ca..3bb80b4eb3d 100644 --- a/plugins/out_http/http.h +++ b/plugins/out_http/http.h @@ -89,7 +89,7 @@ struct flb_out_http { /* Allow duplicated headers */ int allow_dup_headers; - /* Log the response paylod */ + /* Log the response payload */ int log_response_payload; /* Upstream connection to the backend server */ diff --git a/plugins/out_opentelemetry/opentelemetry.c b/plugins/out_opentelemetry/opentelemetry.c index ae614a9c575..56aa8769bd9 100644 --- a/plugins/out_opentelemetry/opentelemetry.c +++ b/plugins/out_opentelemetry/opentelemetry.c @@ -796,7 +796,7 @@ static struct flb_config_map config_map[] = { { FLB_CONFIG_MAP_BOOL, "log_response_payload", "true", 0, FLB_TRUE, offsetof(struct opentelemetry_context, log_response_payload), - "Specify if the response paylod should be logged or not" + "Specify if the response payload should be logged or not" }, { FLB_CONFIG_MAP_STR, "logs_metadata_key", "otlp", diff --git a/plugins/out_opentelemetry/opentelemetry.h b/plugins/out_opentelemetry/opentelemetry.h index 1041409e0ca..dd1839c34fc 100644 --- a/plugins/out_opentelemetry/opentelemetry.h +++ b/plugins/out_opentelemetry/opentelemetry.h @@ -120,7 +120,7 @@ struct opentelemetry_context { /* Number of logs to flush at a time */ int batch_size; - /* Log the response paylod */ + /* Log the response payload */ int log_response_payload; /* config reader for 'add_label' */ diff --git a/plugins/out_prometheus_remote_write/remote_write.c b/plugins/out_prometheus_remote_write/remote_write.c index 7d3dc64ba40..85cfe9840cb 100644 --- a/plugins/out_prometheus_remote_write/remote_write.c +++ b/plugins/out_prometheus_remote_write/remote_write.c @@ -446,7 +446,7 @@ static struct flb_config_map config_map[] = { { FLB_CONFIG_MAP_BOOL, "log_response_payload", "true", 0, FLB_TRUE, offsetof(struct prometheus_remote_write_context, log_response_payload), - "Specify if the response paylod should be logged or not" + "Specify if the response payload should be logged or not" }, /* EOF */ {0} diff --git a/plugins/out_prometheus_remote_write/remote_write.h b/plugins/out_prometheus_remote_write/remote_write.h index f24d53b88d7..678c64022be 100644 --- a/plugins/out_prometheus_remote_write/remote_write.h +++ b/plugins/out_prometheus_remote_write/remote_write.h @@ -60,7 +60,7 @@ struct prometheus_remote_write_context { const char *compression; - /* Log the response paylod */ + /* Log the response payload */ int log_response_payload; /* config reader for 'add_label' */